The Java Persistence API (JPA) is a new programming model under the EJB3.0 specification for the management of persistence and object or relational mapping with Java EE and Java SE. With JPA, you can easily develop java applications that perform operations on an RDBMS by using java objects and mapping. In that way, java applications developed using JPA are not only portable across different platforms, but applications can also be easily developed by using simple yet powerful programming models that are provided by JPA. JPA insulates applications from all of the complexity and non-portable boilerplate code involved in database connectivity and operations. Geronimo integrates OpenJPA as the JPA provider for applications deployed in Geronimo.
The schema diagram of persistence_1_0.xsd is shown in the following figure:
A persistence unit is defined by using the persistence-unit element. Child elements of a persistence-unit are given below:
description: A description of the...