Category Archives: Hibernate

Investigating Hibernate fetch strategies – A tutorial

Short link: http://wp.me/p5Jvc-8m

It has been nearly 3 or more years since my last post on Object Relational Mapping (ORM) tool Hibernate. There is an inevitable performance overhead associated with ORM tools like Hibernate. The overhead gets further magnified by application of imprudent querying or fetch strategy. Hibernate is a sophisticated ORM tool and a developer needs to understand the programming intricacies/flexibilities provided by Hibernate before applying it in application development. This blog post intends to cover the various data fetching strategies supported by Hibernate.

Continue reading

Investigating Hibernate Associations – Cascading Styles

In today’s post we will try to understand how Hibernate’s associations work with the various cascading styles. We will use the many-to-many relationship defined in my previous post as reference.

Continue reading

Investigating Hibernate Associations – Many to Many

In my previous posts, we have looked at one-to-one and one-to-many hibernate associations. This one is going to focus on many-to-many hibernate association.

Continue reading

Investigating Hibernate Associations – One to Many

My previous post covered one-to-one associations in Hibernate. This will cover one-to-many associations in Hibernate.

Continue reading

Investigating Hibernate Associations – One to One

My previous posts set the ball rolling. This one is going to dabble into Hibernate relationships/associations.

Continue reading

Hibernate: continuing the path of discovery

This is a continuation of my previous post. This post investigates the various properties available on the class element available in the persistent class hbm.xml file.

Continue reading

Kick starting Hibernate

I had worked on Hibernate some years back. I decided it was time for me to do a refresher on hibernate and check out its new features and also verify if I remember anything that had learned few years back.

Continue reading