CHAPTER 7

image

JPA Integration and Lifecycle Events

Hibernate provides a number of capabilities beyond the simple “native Hibernate API.” In this chapter, we are going to discuss using the standard JPA configuration resource, Hibernate’s object validation facilities, and object lifecycle events—along with a few other tricks.

The Java Persistence Architecture

The Java Persistence Architecture, or JPA, is a standard approved by the Java Community Process, with input from representatives of a number of projects and vendors. It was created as part of a new Enterprise Java specification, largely because Entity Beans—the prior standard for enterprise persistence—were ...

Get Beginning Hibernate, Third 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.