R
Rizwan
iBATIS or Hibernate? which one is better? or is there anyone which is better
than these two?
Thanks
than these two?
Thanks
Rizwan said:iBATIS or Hibernate? which one is better? or is there anyone which is better
than these two?
Chris Smith said:I'm answering only because there's apparently no one more qualified to
answer for you. I've used Hibernate extensively, and my only exposure
to iBATIS was to read their web site briefly.
It appears that iBATIS involves a lot more SQL work than Hibernate and
leaves you to solve more of your own problems, but it requires a lot
less conceptual understanding. iBATIS basically seems to be about
mapping a ResultSet to an object, and nothing else. Hibernate is more
concerned with the hard problems: caching and connection pooling;
representing relationships between entities in a very flexible and
customizable way, etc. As a result, iBATIS appears to be mostly about
avoiding the effort of writing repetitive glue code from JDBC, while
Hibernate is about abstracting away from JDBC and treating data
according to the object model instead.
Chris Smith said:I'm answering only because there's apparently no one more qualified to
answer for you. I've used Hibernate extensively, and my only exposure
to iBATIS was to read their web site briefly.
It appears that iBATIS involves a lot more SQL work than Hibernate and
leaves you to solve more of your own problems, but it requires a lot
less conceptual understanding. iBATIS basically seems to be about
mapping a ResultSet to an object, and nothing else. Hibernate is more
concerned with the hard problems: caching and connection pooling;
representing relationships between entities in a very flexible and
customizable way, etc. As a result, iBATIS appears to be mostly about
avoiding the effort of writing repetitive glue code from JDBC, while
Hibernate is about abstracting away from JDBC and treating data
according to the object model instead.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.