public void close() { session.close(); } }
public void setUserConnection(Connection connection) throws SQLException { session.setUserConnection(connection); }
public void commitTransaction() throws SQLException { session.commitTransaction(); }
public Object insert(String id) throws SQLException { clientImplWrapper.setLocal(id, executor); IbatisUtils.setClientImpl(executor, clientImplWrapper); return executor.insert(id); }
@SuppressWarnings("rawtypes") public List queryForList(String id, Object parameterObject, int skip, int max) throws SQLException { clientImplWrapper.setLocal(id, executor); IbatisUtils.setClientImpl(executor, clientImplWrapper); return executor.queryForList(id, parameterObject, skip, max); }
public int executeBatch() throws SQLException { IbatisUtils.setClientImpl(executor, clientImplWrapper); return executor.executeBatch(); }
public void startBatch() throws SQLException { IbatisUtils.setClientImpl(executor, clientImplWrapper); executor.startBatch(); }
public Object queryForObject(String id, Object parameterObject) throws SQLException { clientImplWrapper.setLocal(id, executor); IbatisUtils.setClientImpl(executor, clientImplWrapper); return executor.queryForObject(id, parameterObject); }
public void queryWithRowHandler(String id, RowHandler rowHandler) throws SQLException { clientImplWrapper.setLocal(id, executor); IbatisUtils.setClientImpl(executor, clientImplWrapper); executor.queryWithRowHandler(id, rowHandler); }
@SuppressWarnings("rawtypes") public Map queryForMap(String id, Object parameterObject, String keyProp, String valueProp) throws SQLException { clientImplWrapper.setLocal(id, executor); IbatisUtils.setClientImpl(executor, clientImplWrapper); return executor.queryForMap(id, parameterObject, keyProp, valueProp); }
public void startTransaction() throws SQLException { session.startTransaction(); }
public void endTransaction() throws SQLException { session.endTransaction(); }
public PaginatedList queryForPaginatedList(String id, int pageSize) throws SQLException { clientImplWrapper.setLocal(id, executor); IbatisUtils.setClientImpl(executor, clientImplWrapper); return executor.queryForPaginatedList(id, pageSize); }
public DataSource getDataSource() { return session.getDataSource(); }
public Connection getCurrentConnection() throws SQLException { return session.getCurrentConnection(); }
@Deprecated public Connection getUserConnection() throws SQLException { return session.getUserConnection(); }
@SuppressWarnings("rawtypes") public List executeBatchDetailed() throws SQLException, BatchException { IbatisUtils.setClientImpl(executor, clientImplWrapper); return executor.executeBatchDetailed(); }
public Object insert(String id, Object parameterObject) throws SQLException { clientImplWrapper.setLocal(id, executor); IbatisUtils.setClientImpl(executor, clientImplWrapper); return executor.insert(id, parameterObject); }
public Object queryForObject(String id) throws SQLException { clientImplWrapper.setLocal(id, executor); IbatisUtils.setClientImpl(executor, clientImplWrapper); return executor.queryForObject(id); }
public void startTransaction(int transactionIsolation) throws SQLException { session.startTransaction(transactionIsolation); }