CHAPTER 4

image

Advanced Persistence Features

We have organized the persistence sections of this book into three main chapters. The previous chapter introduced the Java Persistence API (JPA), and it gave you a starting point for creating entities, wiring up object/relational (O/R) mappings, and writing queries that retrieve them. With an understanding of these concepts, you can create and build applications with powerful, persistent entities that run both inside and outside an EJB container.

In this chapter, we build upon this knowledge and explore areas of the Java Persistence API (JPA) that offer greater flexibility and power to your applications, ...

Get Beginning EJB 3: Java EE 7 Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.