The Java Persistence API provides Java developers with an object/relational mapping facility for managing relational data in Java applications. Java Persistence consists of four areas:
• The Java Persistence API
• The query language
• The Java Persistence Criteria API
• Object/relational mapping metadata
The following topics are addressed here:
An entity is a lightweight persistence domain object. Typically, an entity represents a table in a relational database, and each entity instance corresponds to ...