Saturday, April 27, 2013

iBATIS vs Hibernate

iBATIS
Hibernate
·         Simpler
·         Faster development time
·         Flixable
·         Much smaller in package size

·         Generates SQL for you which means you don't spend time on SQL
·         Provides much more advance cache
·         Highly scalable


iBATIS makes use of SQL which could be database dependent

Hibernate makes use of HQL which is relatively independent of databases and it is easier to change db in Hibernate

iBatis maps the ResultSet from JDBC API to your POJO Objets.

Hibernate maps your Java POJO objects to the Database tables