Chapter 12. Extending iBATIS

This chapter covers

  • Custom type handlers
  • Cache controllers
  • Custom data sources

No framework meets everyone’s needs out of the box, which is why it is important that the framework provide extension points where the users can modify the behavior of the framework—in other words, it is essential that the framework be pluggable.

Although iBATIS is open source software, and end users could easily modify the code to do whatever they need, it is important to provide a consistent and supportable means of extending the framework. Otherwise, every time a new version of iBATIS was released, the users who had modified their copies of iBATIS would have to merge their changes and recompile the entire framework.

iBATIS provides ...

Get iBATIS in Action 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.