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.

Background

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.