简体   繁体   中英

Does JBoss7 allow Hibernate 3 xml configuration?

First I excuse if this is a stupid question.
I am trying to deploy my spring application into JBoss 7. Hibernate entities are configured with xml. That means PojoClass.hbm.xml and not annotated.

What I want know simply is, do JBoss 7 or 8 version support only Hibernate (version 3) mapping Annotations (POJO class mappings to database tables)? and no xml configurations ? If it is possible, would you let me have any guidance resource URL please ?

  1. Check out this guide exampling how you can switch from Hibernate 4 to Hibernate 3.

  2. Once you enable Hibernate 3, you only need to set the JBoss Transaction Manager resolving settings .

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