I have a very big application (well, actually set of applications) running on Glassfish 3.1 and I have to replace jdk 1.6 with jdk 1.7. The applications use Hibernate 3.5.6-Final. I've replaced the jdk, but now I'm getting an EntityManagerFactory exception when I try to deploy the first application:
Code:
remote failure: Error occurred during deployment: Exception while preparing the app : [PersistenceUnit: central] Unable to build EntityManagerFactory.
So I thought it might have something to do with that version of Hibernate not being compatible with jdk 1.7, but I can't find a list of which versions can run on which jdks. Could anyone help me? Thanks!