Hibernate Example using Hibernate Tools
Learn how to create a simple example using the Eclipse IDE and Hibernate Tools plug-in.
Developing Applications with JBoss and Hibernate
Developers will be introduced to Hibernate and learn to build Java classes and map files from scratch. They will also learn to reverse engineer the database schema into Java classes and Hibernate mapping files and build a web application that will be able to interact with the Hibernate POJOs which they will later deploy to JBoss AS.
What is hibernate in Java? This tutorial will explain how to Hibernate.
Struts Hibernate Integration
Learn how the Web Framework Struts and the Database Persistence Solution Hibernate can be used together.
Spring JPA, One to Many Relationships, Hibernate and DAO's tutorial
This tutorial shows how to use Spring, JPA and Hibernate to model and unit test a bi-directional oneToMany relationship. Full source code is included.
Hibernate Mapping Many-to-One
Learn how to do many-to-one mapping using hibernate.
Use Hibernate to implement mapping from Java type to SQL type
Through this tutorial, developers will be able to see how Hibernate provides built-in types that map to SQL database types. Readers will also be shown how Hibernate allows them to implement and use custom types when these built-in types do not satisfy the application's requirements, or when they want to change the default behavior of a built-in type. Developers will also learn to implement a custom-type class and then use it in the same way as a built-in one. (pdf file, install Acrobat Reader to read this tutorial)
Spring Hibernate Tutorial
In this tutorial you will learn how to integrate Spring and Hibernate with a simple example.
Hibernate Annotations Tutorial
A simple tutorial on Hibernate Annotations: how to create a simple example using the Hibernate Annotations.
Hibernate Mapping One-to-One
Learn how to do one-to-one mapping using hibernate.
Hibernate Mapping One-to-Many Tutorial
How to do one-to-many mapping using hibernate.
Hibernate Mapping Component
Find out how to do component mapping using hibernate.
Hibernate Mapping Many-to-One using Annotations
Find out how to to do many-to-one mapping using hibernate annotations.
Hibernate Mapping One-to-One using Annotations
Learn how to do one-to-one mapping using hibernate annotations.
Hibernate Mapping Tutorial
In this tutorial you will learn how to do many-to-many mapping in hibernate.
Hibernate Mapping Many-to-Many using Annotations
Learn how to do many-to-many mapping using hibernate annotations.
Hibernate Mapping One-to-Many using Annotations
See how to do one-to-many mapping using hibernate annotations.
Hibernate Mapping Component using Annotations
Component mapping using hibernate annotations.
Favoring bidirectional Set vs List
Hibernate is a great ORM tool, and it eases development considerably, but it has a lot of gotchas you must be aware of if you want to use it properly. On medium to large projects it’s very common to have bidirectional parent-child associations, which allow us to navigate both ends of a given relationship. When it comes to controlling the persist/merge part of the association, there are two options available. One would be to have the @OneToMany end in charge of synchronizing the collection changes, but this is an inefficient approach, which is very well described here.
Advanced JPA Topics
This documentation explains how to use JPA in the context of the ObjectDB Object Database but mostly relevant also for ORM JPA implementations, such as Hibernate (and HQL), EclipseLink, TopLink, OpenJPA and DataNucleus. ObjectDB is not an ORM JPA implementation but an Object Database (ODBMS) for Java with built in JPA 2 support.