Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can i find jpa orm.xml usage samples [closed]

I am trying to see some usage samples of JPA orm.xml. If some one direct me to a link,

like image 500
user562811 Avatar asked Jan 04 '11 17:01

user562811


1 Answers

The schema is here,

http://java.sun.com/xml/ns/persistence/orm_2_0.xsd

There are lots of samples of each mapping type here,

http://en.wikibooks.org/wiki/Java_Persistence

Lots of examples here, http://wiki.eclipse.org/EclipseLink/Examples/JPA

In particular, http://wiki.eclipse.org/EclipseLink/Examples/JPA/EmployeeXML

like image 120
James Avatar answered Oct 25 '22 21:10

James