Reputation: 69
I want to know the key differences I need to take care of if I want to switch to Hibernate 4.0 from Hibernate 3.6 ? Does Hibernate 4.0 support hbm.xml
or do I need to use JPA for mapping?
Upvotes: 1
Views: 729
Reputation: 652
You should read the migration guide https://community.jboss.org/wiki/HibernateCoreMigrationGuide40
Upvotes: 1
Reputation: 94429
Hibernate 4 still supports ORM mapping via XML (hbm.xml). As suggested by the mapping section in this basic hibernate 4 tutorial.
Upvotes: 2