public List queryForList(final String id, final Object parameterObject, final int skip, final int max) throws SQLException {
return (List) transactionManager.doInTransaction(new TransactionScope() {
public Object execute(Transaction transaction) throws SQLException {
Executor executor = transaction.getExecutor();
MappedStatement ms = configuration.getMappedStatement(id);
return executor.query(ms, wrapCollection(parameterObject), new RowBounds(skip, max), null);
}
});
}
public List queryForList(String id, Object parameterObject) throws SQLException {