O'Reilly logo

Beginning Hibernate, Third Edition by Jeff Linwood, Dave Minter, Joseph B. Ottinger

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

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

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