clipped from: www.vaannila.com   

Hibernate Tutorial


Hibernate Tools Tutorial

Learn how to create a simple example using the Eclipse IDE and Hibernate Tools plug-in. HSQLDB is used for persisting data in the back-end.


Hibernate Mapping Tutorial

In this tutorial you will learn how to do many-to-many mapping in hibernate.


Hibernate Annotations Tutorial

Learn how to create a simple example using the Hibernate Annotations.


Hibernate Examples

List of all Hibernate Examples.

clipped from: www.vaannila.com   

In this example we have two classes Course and Student. The Course class contains details regarding the courses and the Student class contains details regarding the students. The two classes are assocaited in the following way, each student can participate in any number of courses and each course can have any number of students in it. This association is called a many-to-many association and to map this assoication in hibernate we use many-to-many mapping.