return (Integer) transactionManager.doInTransaction(new TransactionScope() {
public Object execute(Transaction transaction) throws SQLException {
transaction.setCommitRequired(true);
MappedStatement ms = configuration.getMappedStatement(id);
Executor executor = transaction.getExecutor();
return executor.update(ms, wrapCollection(parameterObject));
}
});
}
public Object queryForObject(String id) throws SQLException {