The main method of this class executes a callback that implements a
data access action. Furthermore, this class provides numerous convenience
methods that mirror SqlMapExecutor's
execution methods.

It is generally recommended to use the convenience methods on this template
for plain query/insert/update/delete operations. However, for more complex
operations like batch updates, a custom SqlMapClientCallback must be implemented,
usually as anonymous inner class. For example:

The template needs a SqlMapClient to work on, passed in via the "sqlMapClient"
property. A Spring context typically uses a SqlMapClientFactoryBean
to build the SqlMapClient. The template an additionally be configured with a
DataSource for fetching Connections, although this is not necessary if a
DataSource is specified for the SqlMapClient itself (typically through
SqlMapClientFactoryBean's "dataSource" property).

delete(String statementName,
Object parameterObject,
int requiredRowsAffected)
Convenience method provided by Spring: execute a delete operation
with an automatic check that the delete affected the given required
number of rows.

update(String statementName,
Object parameterObject,
int requiredRowsAffected)
Convenience method provided by Spring: execute an update operation
with an automatic check that the update affected the given required
number of rows.