Upgraded from Hibernate 2.1.8 to 3.6.10