Chapter 5. Executing nonquery statements

This chapter covers

  • More of the iBATIS API
  • Inserting data
  • Updating and deleting data
  • Using stored procedures

Running a query over your database is definitely worthwhile, but most applications also need to get data into the database. In this chapter, we explore some of the ways to populate your database using the iBATIS framework. We build on the concepts introduced in chapter 4, so if you are new to iBATIS and have not read that chapter yet, you may want to take a quick look. Nearly all of the parameter-mapping information (and result-mapping information too, to a small extent) from chapter 4 will apply to nonquery mapped statements as well.

5.1. The building blocks for updating data

In chapter ...

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.