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, ...