Category Archives: Hibernate

These blogs cover the details regarding Hibernate

Wicket meets Hibernate

I got Hibernate and Wicket working together. It is simple and perhaps still needs some tweaking, but I was happy to have joined the two together. These instructions are intended for Ubuntu, but can be adapted for Windows too. I … Continue reading

Posted in Hibernate, Wicket | 2 Comments

Making a Servlet with Hibernate

These are the details I followed for making a servlet with Hibernate. This will take off from the last post with Many to Many. It is a rehash from the original Hibernate documentation.  Make sure that you have .m2/settings.xml so … Continue reading

Posted in Hibernate | Comments Off on Making a Servlet with Hibernate

Generating domain classes from hbm files in Hibernate

Hibernate offers the capability to generate both the database schema and the java class files for the domain model when you specify the model using the .hbm.xml files.  You can accomplish this using the hibernate3-maven-plugin. I was not able to … Continue reading

Posted in Hibernate | Comments Off on Generating domain classes from hbm files in Hibernate

Adding many-to-many in Hibernate

In this post, I will demonstrate how to do a many-to-many relation in Hibernate. A Person(s) can attend many Event(s) and an Event(s) can have many Person(s). This follows the initial creation of the simple mapped class describe in my … Continue reading

Posted in Hibernate | 2 Comments

Hibernate Tutorial refined

This tutorial refines what is presented in the Tutorial section that is included with the Hibernate documentation for the 3.6.2-Final release. I had a few problems while working through the tutorial contained in the documentation, thus this is my attempt … Continue reading

Posted in Hibernate | 1 Comment

Getting Started

I have been hacking Hibernate to figure out how to make this Object Relational Mapping to work. The idea of Hibernate is great, but the details of using it seem to be dispersed and confusing. The original technique uses the … Continue reading

Posted in Hibernate | Comments Off on Getting Started