O'Reilly logo

Seam Framework: Experience the Evolution of Java™ EE, Second Edition by Thomas Heute, Jacob Orshalick, Michael Juntao Yuan

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

Appendix D Direct Access to the Hibernate API

In most examples throughout the book, we use JPA (Java Persistence API) for the persistence logic. We use Hibernate as our JPA implementation. However, as it is an open source framework at the forefront of ORM innovation, some of Hibernate’s features are not yet standardized. In particular, JPA does not yet support these features:

• The JPA query language is not as rich as that in Hibernate. For instance, JPA does not support Hibernate’s query-by-criteria or query-by-example.

• Hibernate offers more methods to manage objects with detached state; JPA supports only one merge() operation in the EntityManager.

• The object type system in Hibernate is much richer than that in JPA.

• Hibernate ...

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