OpenJPA Examples
This page provides samples for OpenJPA. For further information, the documentation provides comprehensive documentation on all aspects of configuring and using OpenJPA.
For more information on using OpenJPA within a Java EE application server, please see the Integration page for more details.
- Open JPA Basic Sample and tutorial
- OpenBooks - a end-to-end example featuring new JPA 2.0 features in JSE and JEE environments
- Using Criteria API in DayTrader
- Bean Validation Primer - A simple example which demonstrates the use Bean Validation with OpenJPA
OpenJPA ANT Examples
These are some short (5 minutes) quick start guides for OpenJPA using the examples provided with the distribution. Most OpenJPA releases require Java SE 5, but see Build and Runtime Dependencies for more details.
Other Examples
Apache Geronimo v2.1 Samples
- Bean Managed Persistence with JPA
- Container Managed Persistence with JPA
- Working with JSF and JPA
- Using Java Persistence API in application client
- Apache DayTrader Sample