Where can I find samples using jpa orm.xml

I am trying to see some examples of using JPA orm.xml. If someone directs me to a link,

+7
source share
2 answers

This may not be the complete answer, but http://www.jpox.org/docs/1_2/tutorials/jpa_tutorial.html uses JPA 1.0. However, this was useful when I created my ORM.xml for JPA 2.0. I know that β€œEnterprise JavaBeans 3.0” by O'Reilly also has good examples. Otherwise, you should look at the diagram (post a link, but apparently I do not have enough reputation to publish several links) and compare it with examples of annotations ... at least this is what I had to do.

ORM.xml does not seem to be suitable for the annotation version, which explains the difficulty of finding good examples of the ORM.xml file.

0
source

All Articles