Hi! I believe that a picture is worth a thousand words. Some aspects of the JPA2 XML mapping are not well-documented. An examples of that is how to separate the JPA XML metadata into different files. What XML element do we start with in the indivisual files?
It would be nice if a Hibernate JPA2 XML mapping was provided as examples. This would fill-in such questions. The sample would have to show the separation of JPA2 XML file into a number of files, preferably one file for each class. The example would have to be a real project, with a complex persistence.xml file
Thanks
|