This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 243666

Summary: Hibernate 4.x canned library missing mchange-commons-java jar
Product: javaee Reporter: MrLucMorin
Component: HibernateAssignee: Sergey Petrov <sj-nb>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:

Description MrLucMorin 2014-04-08 17:08:14 UTC
When developing a Java EE Web application and adding Hibernate support, the Hibernate 4.x library that comes with Netbeans is missing the mchange-commons-java jar.

This causes exceptions when trying to enable c3p0 pooling where c3p0 is unable to locate the default fallback logging class.

Since c3p0 version is c3p0-0.9.2.1.jar, adding mchange.commons-java-0.2.3.4.jar to the library solves the issue.

The missing jar is part of the c3p0 download. Why is it not included by default ?
Comment 1 Sergey Petrov 2014-07-03 13:05:06 UTC
initially, it wasn't intended to bundle all possible jars to work with hibernate, but as c2p0 is bundled, it may have sense to add this file too

http://hg.netbeans.org/web-main/rev/03a319181879
Comment 2 Quality Engineering 2014-07-04 02:37:59 UTC
Integrated into 'main-silver', will be available in build *201407040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/03a319181879
User: Sergey B. Petrov <sj-nb@netbeans.org>
Log: #243666 one more jar to bundled