O'Reilly logo

iBatis in Action by Larry Meadors, Brandon Goodin, Clinton Begin

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

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