Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Which is better Ibatis or Hibernate

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have just learning Hibernate. So wanted to know which among hibernate and IBatis is better. Or is there any general trend when to use IBatis and when to use Hibernate with respect to their strength and weaknesses.

Thanks and Regards,
Pradeep
 
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These are not application frameworks but object-relational mapping tools; I'm going to move this to our Object-Relational Mapping forum, where Hbernate and Ibatis are discussed in depth.
 
Marshal
Posts: 67451
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which is better? The one that suits your coding style and project the best.

We cannot tell you that.

Do you have more specific criteria to compare them against?
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate and iBatis are a bit difficult to compare since they are different in what they do. Hibernate is true object relational mapping. iBatis is simpler than that. It simply maps sql back to objects, an SQL mapper if you will. You should read up on what Object Relational Mapping really is and determine if that is what you need. If you are just looking for an easy way to get a ResultMap into a POJO then iBatis might be the way to go.
 
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From my colleagues that have worked both on iBatis and Hibernate, I've been told that iBatis is much more better and faster compared to Hibernate and infact is much easier to use than Hibernate.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jothi Shankar Kumar wrote:From my colleagues that have worked both on iBatis and Hibernate, I've been told that iBatis is much more better and faster compared to Hibernate and infact is much easier to use than Hibernate.



You can't just say that, especially when it is hear say, and because they do different things. Though they do solve a somewhat common problem, ORM is much more than SQL Mapping. MUCH MORE.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my opinion,iBatis is kind of OQM (Object Query Mapping) ,while hibernate is complete ORM thus both cant be compared
But 1 thing is for sure is iBatis is much more simpler,easy to learn and gives you more freedom in terms of writting complex SQL queries...
Thats what my experience says..

Cheers,
Dhananjay
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, everyone will have their opinions. And no one is right or wrong. iBatis and Hibernate are both great fantastic products.

Personally, I prefer Hibernate.

Mark
 
Tongue wrestling. It's not what you think. And here, take this tiny ad. You'll need it.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic