iBATIS is one of the best ORM mapping tools available
which maps the JDBC result sets to objects. It provides a clean separation
between SQLs and the objects which are mapped to result sets.
This helps DB Administrators to concentrate on SQLs and Java Developers on actual results.
DB Setup
The following SQLs for Oracle helps us to setup DB schema for the tutorials.
iBatis Configuration iBATIS requires driver name, connection url, user name and password
as basic configuration parameters which has to be provided through SqlMapConfig.xml file.
The SQL Mapping Configuration file has to be in classpath.
The mapping of SQLs and result sets has to be provided through sqlMap tag.
Next examples in this series shows mapping of STUDENT table with Student POJO.