File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Ibatis and Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Ibatis and Hibernate" Watch "Ibatis and Hibernate" New topic

Ibatis and Hibernate

John Campbell
Ranch Hand

Joined: Mar 11, 2005
Posts: 53
Could someone highlight the main dfferences between Hibernate and Ibatis, and scenarios where they would be preferred over each other.
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Well, and take this with a grain of salt.

Ibatis is a nice tool to use for those not so big databases that you just want to create a few queries to and map those queries to objects. However, if you have a bigger database then Hibernate will give you much more features and control, which can be a blessing, but also a bigger learning curve.

Personally, I prefer Hibernate. But that is just my opinion and preference.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Ibatis and Hibernate
It's not a secret anymore!