Chapter 6. Apache iBATIS

This chapter provides an overview of Apache iBATIS. It covers how iBATIS implements the object-relational mapping techniques described in the previous chapters. We will briefly survey its history, discuss how it is used, and show several end-to-end examples of its use.


iBATIS is a popular framework for object-relational mapping that makes SQL, stored procedures, and legacy database schemas first-class citizens. The iBATIS philosophy is that SQL is mature, well-known, and tested in industry; thus, SQL and stored procedures are the best mechanism to query for an object with the iBATIS framework. This philosophy is realized in iBATIS with facilities for the direct manipulation of the SQL code. XML-based mapping statements ...

Get Persistence in the Enterprise: A Guide to Persistence Technologies now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.