This week's book giveaway is in the Java 9 forum. We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line! See this thread for details.
I am working on a project which uses both Entity classes with annotations and .hbm.xml mapping files.
I list all the entity classes with annotations in the persistence.xml file but how do i include .hbm.xml files in the persistence unit.
posted 8 years ago
The documentation says that you can get them all (annotated entity classes and XML mapped classes) included into the persistence unit automatically.