News

Learn how to set up Hibernate, create entities and mappings, perform CRUD operations, implement associations and inheritance, and apply best practices and patterns for ORM in Java applications.
In this excerpt from Manning Publications' Hibernate in Action, authors Christian Bauer and Gavin King introduce Hibernate's core APIs and explain its basic configuration.
Configure a Java application to use Hibernate as your JPA provider. Configure JPA’s EntityManager. Create a simple JPA domain model representing two classes with a one-to-many relationship.
Spring supports us with bootstrapping the Hibernate SessionFactory. All we have to do is to define some beans as well as a few parameters. With Spring, we have two options for these configurations, a ...
Configure Hibernate metadata. You need to tell the Hiberante SchemaExport class about all of your entity beans, ... various database tables and colums that your JPA entities need in order to persist ...
A challenge when developing applications that use object-relational mapping (ORM) like Hibernate and JPA, a common approach is to list each @Entity decorated Java class programmatically either in the ...