Chapter 4. Working with mapped statements

This chapter covers

  • JavaBeans
  • Using the iBATIS API
  • Mapped statements
  • Using parameters and results

In previous chapters we looked at how to configure iBATIS SqlMaps, and you saw an example of a mapped statement. You should now have a foundation on which to start building more of the database access layer for an application.

This chapter and the next examine mapped statements in greater detail, and discuss using SQL maps to create them. In this chapter, we first look at mapped statements in general and what you need to know to use them. Then we explain how to get data out of the database using mapped statements that return typed objects (JavaBeans), and how to pass in parameters to limit the data ...

Get iBatis in Action now with O’Reilly online learning.

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