O'Reilly logo

Persistence in the Enterprise: A Guide to Persistence Technologies by Kulvir Singh Bhogal, Robert Peterson, Kyle Brown, Geoffrey Hambrick, Roland Barcia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required