Tag Archives: hibernate

Hibernate – Inheritance Mapping

Suppose that there are three classes called Project, Module and Task. Module class extends Project class. Task class extends Module class. UML class diagram of this multilevel inheritance application is shown below. There are three types of strategies for inheritance … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Hibernate – Many to Many Mapping

In this example I will show how to map many-to-many relationship using Annotations.Consider the following relationship between Student and Course entity. According to the relationship a student can enroll in any number of courses and the course can have any … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Hibernate Installation/Setup on Eclipse IDE

I will show how to install Hibernate in this blog post and I will set up a small database application that can store events in my another post Sample Hibernate Application.Although you can use whatever database and IDE you feel … Continue reading

Posted in Uncategorized | Tagged , , | 9 Comments