Hibernate vs. iBatis

January 14, 2007

I was googling for something on the internet and cam across this post I made to the iBatis mailing list almost 2 years ago. I think for the most part this still holds true, although when I made this statement I was referring to Hibernate 2. Hibernate 3 has some features that make Hibernate even more usable for odd database structures, such as [the ability to map SQL queries to objects][2]. The criteria API is much improved in Hibernate 3, and Hibernate Annotations make configuration of Hibernate much easier. I think these feature make the argument for using Hibernate even stronger, but iBatis is still a great framework to use for certain scenarios.

[2]: http://www.hibernate.org/hib_docs/v3/reference/en/html/querysql.html#querysql-load

Posted in Technology | Tags iBatis, Hibernate, Java | 0 Comments