JPA and TopLink
The Java Persistence API (JPA) is a Java specification for persisting and managing data between Java objects and classes, and a relational database. JPA is part of the EJB 3.0 specification, is intended to replace the EJB 2 CMP entity bean specification, and is a current industry standard for object-relational mapping (ORM). You can choose from open source and commercial JPA implementations, and a Java EE 5 application server such as Oracle WebLogic Server supports the use of JPA.
Unlike the EJB 2 CMP specification, JPA allows you to define object-relational mappings through standard annotations or XML. JPA includes the object-level query language JPQL to allow the querying of objects from a relational database. It also defines ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access