• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Hibernate vs iBatis

 
Ranch Hand
Posts: 502
jQuery Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Clinton Begin/Brandon Goodin/Larry Meadors,

What makes you write new framework, which you find difficult to do in hibernate?

Thanks.
 
author
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have been around since Hibernate. So we didn't write iBATIS because we thought we could beat HIbernate. Apart from that iBATIS and Hibernate address different concerns. In a nutshell iBATIS is value based and Hibernate is concerned with object identity. The other distinction is that we are a SQL Mapping framework not a Table to Object mapping tool. We take a different approach to a similar problem.

A couple other points that I think would make iBATIS attractive to developers and companies:
- iBATIS has a small learning curve.
- iBATIS is SQL based and therefore those who prefer to write their SQL will feel very comfortable with it.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"SQL Mapping framework"

Can you explain that a little bit more for us?

Thanks

Mark
 
Author
Posts: 144
5
jQuery Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree that the iBatis learning curve is not as steep as in hibernate. I feel productive in iBatis and I always feel confused in Hibernate. Also iBatis gives you more control of your SQL.
Tom
 
Prabhu Venkatachalam
Ranch Hand
Posts: 502
jQuery Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Brandon.

Could you explain us what SQL Mapping framework means? as Mark Spritzler asked.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Brandon Goodin:
- iBATIS is SQL based and therefore those who prefer to write their SQL will feel very comfortable with it.



But isnt ORM framework meant to reduce the SQLs that are written and instead concentrate more on the business objects
 
author
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, ORMs are designed to hide or abstract SQL. iBATIS isn't really an ORM in the strict sense.

I talked more about ORM and SQL mapping here

Cheers,
Clinton
 
Prabhu Venkatachalam
Ranch Hand
Posts: 502
jQuery Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you.
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for that explanation, Clinton. Before reading that, i was under the impression that Hibernate and iBatis were exactly similar.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic