简体   繁体   中英

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?

Hibernate 4 still supports ORM mapping via XML (hbm.xml). As suggested by the mapping section in this basic hibernate 4 tutorial .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM