Chapter 10. iBATIS Integration

In the previous chapter, you saw how to use JDBC in Spring applications. Even though Spring goes a long way toward simplifying JDBC development, you will find that you still have a lot of code to write to use JDBC.

One elegant solution to avoiding all this code is to use an object-relational mapping (ORM) tool, which maps the data rows and creates appropriate Java objects. In order for such mapping tools to access Java objects in a standardized fashion, they have to follow Java bean naming conventions. For example, the mapping tools can also set referenced objects that result from a join operation.

There are two basic types of ORM frameworks: those in which you can rely on the framework to generate all the SQL statements ...

Get Pro Spring 2.5 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.