com.ibatis.sqlmap.engine.impl
public class SqlMapClientImpl extends Object implements SqlMapClient, ExtendedSqlMapClient
| Field Summary | |
|---|---|
| SqlMapExecutorDelegate | delegate
Delegate for SQL execution |
| protected ThreadLocal | localSqlMapSession |
| Constructor Summary | |
|---|---|
| SqlMapClientImpl(SqlMapExecutorDelegate delegate)
Constructor to supply a delegate
| |
| Method Summary | |
|---|---|
| void | commitTransaction() |
| int | delete(String id, Object param) |
| int | delete(String id) |
| void | endTransaction() |
| int | executeBatch() |
| List | executeBatchDetailed() |
| void | flushDataCache() |
| void | flushDataCache(String cacheId) |
| Connection | getCurrentConnection() |
| DataSource | getDataSource() |
| SqlMapExecutorDelegate | getDelegate() |
| protected SqlMapSessionImpl | getLocalSqlMapSession() |
| MappedStatement | getMappedStatement(String id) |
| ResultObjectFactory | getResultObjectFactory() |
| SqlMapSession | getSession()
TODO : DEPRECATED
|
| SqlExecutor | getSqlExecutor() |
| Connection | getUserConnection()
TODO Deprecated
|
| Object | insert(String id, Object param) |
| Object | insert(String id) |
| boolean | isEnhancementEnabled() |
| boolean | isLazyLoadingEnabled() |
| SqlMapSession | openSession() |
| SqlMapSession | openSession(Connection conn) |
| List | queryForList(String id, Object paramObject) |
| List | queryForList(String id) |
| List | queryForList(String id, Object paramObject, int skip, int max) |
| List | queryForList(String id, int skip, int max) |
| Map | queryForMap(String id, Object paramObject, String keyProp) |
| Map | queryForMap(String id, Object paramObject, String keyProp, String valueProp) |
| Object | queryForObject(String id, Object paramObject) |
| Object | queryForObject(String id) |
| Object | queryForObject(String id, Object paramObject, Object resultObject) |
| PaginatedList | queryForPaginatedList(String id, Object paramObject, int pageSize) |
| PaginatedList | queryForPaginatedList(String id, int pageSize) |
| void | queryWithRowHandler(String id, Object paramObject, RowHandler rowHandler) |
| void | queryWithRowHandler(String id, RowHandler rowHandler) |
| void | setUserConnection(Connection connection) |
| void | startBatch() |
| void | startTransaction() |
| void | startTransaction(int transactionIsolation) |
| int | update(String id, Object param) |
| int | update(String id) |
Parameters: delegate - the delegate
Deprecated: Use openSession()
TODO : DEPRECATEDDeprecated:
TODO DeprecatedReturns: Current connection
Throws: SQLException
Deprecated: All paginated list features have been deprecated
Deprecated: All paginated list features have been deprecated