views:

2094

answers:

3

Is there a great tutorial on how to use JPA mapping file? Accompanying related source code for the mapping file would be great also.

+2  A: 

Simple Tutorial

A bit more in depth Tutorial

Kevin Crowell
Second link is broken. Link: http://schuchert.wikispaces.com/JPA+Tutorial+1+-+Getting+Started
flicken
A: 

There is also a good doc. on the different entity configurations here: http://docs.jboss.org/hibernate/stable/entitymanager/reference/en/html_single/#configuration

Lucas Fragomeni