News

The JPA EntityManager is the key to Hibernate transaction management. Here's how to bring and commit transactions and persist data to the database for smooth, reliable transactions.
This tip shows you how to get the Hibernate Session from the JPA EntityManager so you can perform functions only available from the JBoss Hibernate project.
Databases have no notion of inheritance between entities, so JPA providers like Hibernate must provide special features for defining object-oriented inheritance relationships in the database.
This Java tip introduces you to using composite keys in JPA and Hibernate. Note that I assume you’ve been introduced to Java persistence with JPA and Hibernate, including how to model entities ...