Anishri Kumar
Anishri Kumar

Reputation: 69

Updating from Hibernate 3.6 to Hibernate 4.0

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

Answers (2)

bmoc
bmoc

Reputation: 652

You should read the migration guide https://community.jboss.org/wiki/HibernateCoreMigrationGuide40

Upvotes: 1

Kevin Bowersox
Kevin Bowersox

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

Related Questions