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 - Hibernate 4.x canned library missing mchange-commons-java jar
Summary: Hibernate 4.x canned library missing mchange-commons-java jar
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 8.0
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-08 17:08 UTC by MrLucMorin
Modified: 2014-07-09 15:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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