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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 17249

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 - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
It is sorta covered in the JavaRanch Style Guide.
subject: Ibatis and Hibernate
Similar Threads
Topic : comparing Hibernate with iBatis
Possible Category and New Forum Changes
Hibernate vs IBATIS
CodeFutures Ships New Release of FireStorm/DAO Java Code Generator
Tech Word Game