Java Persistence API

Java EE has an API that can be used in the ORM component of an application. This is called JPA. This is one of the most important APIs in Java EE and the solution that Java EE uses to talk to relational databases and non-relational databases.

JPA offers an ORM solution based on the ORM paradigm. The framework handles the mapping of the state of the objects to the database without us having to specify many details about the mapping. All we really have to worry about is writing appropriate annotations on our POJO classes.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset