From: <leg...@at...> - 2003-12-04 22:21:41
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-523 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-523 Summary: jta.jar becomes mandatory in 2.1 Type: Improvement Status: Unassigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.1 beta 6 Assignee: Reporter: Dmitry Created: Thu, 4 Dec 2003 4:20 PM Updated: Thu, 4 Dec 2003 4:20 PM Description: In Hibernate 2.0.3 JTA was trully optional. But after migraring to Hibernate 2.1 I was forced to add jta.jar to classpath. Otherwise exception was thrown: java.lang.NoClassDefFoundError: javax/transaction/Synchronization at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:306) at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:310) As Max said: "..but our VERSIONS file says jta.jar is optional - so either that file should be updated or code has to be changed in sessionimpl to avoid force load of jta....submit it to the JIRA and let Gavin fry ;)" ( http://forum.hibernate.org/viewtopic.php?t=926091 ) --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |