I thought I would have a look at the new features of 2.1beta3b as some look like they might be useful.
I have been using 2.03 which has been working fine. I copied over the new hibernate2.jar and the others in /lib that I am using. When I ran it I got the following error when I tried to open a session:
Code:
----- Root Cause -----
java.lang.NoClassDefFoundError: javax/transaction/Synchronization
at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:277)
This was fixed by adding in the jta.jar file. The /lib/VERSIONS file states:
Code:
jta.jar
- Standard JTA API
- runtime, optional
I guess it is no longer optional with the use of JDBCTransaction as the default.