What is iBatis ?
-
A SQL Mapper
-
A J2ee Framework
-
A JDBC Framework
-
An ORM Tool
iBATIS (now MyBatis) is primarily a SQL Mapper that maps Java objects to SQL statements using XML or annotations. It's a JDBC framework (simplifies JDBC code) and is classified as an ORM-like tool, though it's a data mapper rather than a full ORM like Hibernate. It's not a complete J2EE framework (that would include Spring or Java EE).
iBatis (later renamed MyBatis) is a persistence framework that maps SQL statements directly to Java objects — a SQL Mapper — while also handling JDBC boilerplate like connections and result set mapping, and it's commonly classified as a lightweight ORM tool because it maps query results to objects. It is not a full J2EE framework like EJB or a Java web framework, since it focuses specifically on the data-access layer.