public class SqlMapClientWrapper extends SqlMapExecutorWrapper implements com.ibatis.sqlmap.client.SqlMapClient, com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
| Constructor and Description |
|---|
SqlMapClientWrapper(com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
commitTransaction() |
void |
endTransaction() |
void |
flushDataCache() |
void |
flushDataCache(String cacheId) |
com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient |
getClient() |
Connection |
getCurrentConnection() |
DataSource |
getDataSource() |
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate |
getDelegate() |
com.ibatis.sqlmap.engine.mapping.statement.MappedStatement |
getMappedStatement(String id) |
com.ibatis.sqlmap.engine.mapping.result.ResultObjectFactory |
getResultObjectFactory() |
com.ibatis.sqlmap.client.SqlMapSession |
getSession() |
com.ibatis.sqlmap.engine.execution.SqlExecutor |
getSqlExecutor() |
Connection |
getUserConnection() |
boolean |
isEnhancementEnabled() |
boolean |
isLazyLoadingEnabled() |
com.ibatis.sqlmap.client.SqlMapSession |
openSession() |
com.ibatis.sqlmap.client.SqlMapSession |
openSession(Connection conn) |
void |
setUserConnection(Connection connection) |
void |
startTransaction() |
void |
startTransaction(int transactionIsolation) |
delete, delete, executeBatch, executeBatchDetailed, insert, insert, queryForList, queryForList, queryForList, queryForList, queryForMap, queryForMap, queryForObject, queryForObject, queryForObject, queryForPaginatedList, queryForPaginatedList, queryWithRowHandler, queryWithRowHandler, startBatch, update, updateequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, delete, executeBatch, executeBatchDetailed, insert, insert, queryForList, queryForList, queryForList, queryForList, queryForMap, queryForMap, queryForObject, queryForObject, queryForObject, queryForPaginatedList, queryForPaginatedList, queryWithRowHandler, queryWithRowHandler, startBatch, update, updatepublic SqlMapClientWrapper(com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient client)
public com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient getClient()
public void startTransaction()
throws SQLException
startTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManagerstartTransaction in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientSQLExceptionpublic void startTransaction(int transactionIsolation)
throws SQLException
startTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManagerstartTransaction in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientSQLExceptionpublic void commitTransaction()
throws SQLException
commitTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManagercommitTransaction in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientSQLExceptionpublic void endTransaction()
throws SQLException
endTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManagerendTransaction in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientSQLExceptionpublic void setUserConnection(Connection connection) throws SQLException
setUserConnection in interface com.ibatis.sqlmap.client.SqlMapTransactionManagersetUserConnection in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientSQLExceptionpublic Connection getUserConnection() throws SQLException
getUserConnection in interface com.ibatis.sqlmap.client.SqlMapTransactionManagergetUserConnection in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientSQLExceptionpublic Connection getCurrentConnection() throws SQLException
getCurrentConnection in interface com.ibatis.sqlmap.client.SqlMapTransactionManagergetCurrentConnection in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientSQLExceptionpublic DataSource getDataSource()
getDataSource in interface com.ibatis.sqlmap.client.SqlMapTransactionManagergetDataSource in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientpublic com.ibatis.sqlmap.client.SqlMapSession openSession()
openSession in interface com.ibatis.sqlmap.client.SqlMapClientopenSession in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientpublic com.ibatis.sqlmap.client.SqlMapSession openSession(Connection conn)
openSession in interface com.ibatis.sqlmap.client.SqlMapClientopenSession in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientpublic com.ibatis.sqlmap.client.SqlMapSession getSession()
getSession in interface com.ibatis.sqlmap.client.SqlMapClientgetSession in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientpublic void flushDataCache()
flushDataCache in interface com.ibatis.sqlmap.client.SqlMapClientflushDataCache in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientpublic void flushDataCache(String cacheId)
flushDataCache in interface com.ibatis.sqlmap.client.SqlMapClientflushDataCache in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientpublic com.ibatis.sqlmap.engine.mapping.statement.MappedStatement getMappedStatement(String id)
getMappedStatement in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientpublic boolean isLazyLoadingEnabled()
isLazyLoadingEnabled in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientpublic boolean isEnhancementEnabled()
isEnhancementEnabled in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientpublic com.ibatis.sqlmap.engine.execution.SqlExecutor getSqlExecutor()
getSqlExecutor in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientpublic com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate getDelegate()
getDelegate in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientpublic com.ibatis.sqlmap.engine.mapping.result.ResultObjectFactory getResultObjectFactory()
getResultObjectFactory in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClientCopyright © 2013–2018 Alibaba Group. All rights reserved.