O'Reilly logo

Java EE 7: The Big Picture by Dr. Danny Coward

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

image

CHAPTER12

Modern Memories: The Java Persistence API

The Java Persistence API enables applications to extend the life of regular Java objects by persisting them in a relational database.

As we saw in the JDBC APIs, much of the work of a JDBC application is concerned with formulating the correct SQL statements that will write an application’s data objects into a relational database, manage them there, and reconstruct application-level data objects by interpreting the generic ResultSet objects that represent the result of a data query against the database.

The Java Persistence API (JPA) provides a very convenient shortcut to some of these steps. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required