Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
The EclipseLink Examples includes a JPA 2.0 example model for an employee tracking application. It contains examples of most new JPA 2.0 mappings, and also contains runtime examples for varies queries and transactions.
The source for the example can be found File:Org.eclipse.persistence.example.jpa.20.employee.annotations.zip, or from the EclipseLink SVN [].