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, update
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, delete, executeBatch, executeBatchDetailed, insert, insert, queryForList, queryForList, queryForList, queryForList, queryForMap, queryForMap, queryForObject, queryForObject, queryForObject, queryForPaginatedList, queryForPaginatedList, queryWithRowHandler, queryWithRowHandler, startBatch, update, update
public 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.SqlMapTransactionManager
startTransaction
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
SQLException
public void startTransaction(int transactionIsolation) throws SQLException
startTransaction
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
startTransaction
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
SQLException
public void commitTransaction() throws SQLException
commitTransaction
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
commitTransaction
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
SQLException
public void endTransaction() throws SQLException
endTransaction
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
endTransaction
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
SQLException
public void setUserConnection(Connection connection) throws SQLException
setUserConnection
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
setUserConnection
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
SQLException
public Connection getUserConnection() throws SQLException
getUserConnection
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
getUserConnection
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
SQLException
public Connection getCurrentConnection() throws SQLException
getCurrentConnection
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
getCurrentConnection
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
SQLException
public DataSource getDataSource()
getDataSource
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
getDataSource
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
public com.ibatis.sqlmap.client.SqlMapSession openSession()
openSession
in interface com.ibatis.sqlmap.client.SqlMapClient
openSession
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
public com.ibatis.sqlmap.client.SqlMapSession openSession(Connection conn)
openSession
in interface com.ibatis.sqlmap.client.SqlMapClient
openSession
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
public com.ibatis.sqlmap.client.SqlMapSession getSession()
getSession
in interface com.ibatis.sqlmap.client.SqlMapClient
getSession
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
public void flushDataCache()
flushDataCache
in interface com.ibatis.sqlmap.client.SqlMapClient
flushDataCache
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
public void flushDataCache(String cacheId)
flushDataCache
in interface com.ibatis.sqlmap.client.SqlMapClient
flushDataCache
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
public com.ibatis.sqlmap.engine.mapping.statement.MappedStatement getMappedStatement(String id)
getMappedStatement
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
public boolean isLazyLoadingEnabled()
isLazyLoadingEnabled
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
public boolean isEnhancementEnabled()
isEnhancementEnabled
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
public com.ibatis.sqlmap.engine.execution.SqlExecutor getSqlExecutor()
getSqlExecutor
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
public com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate getDelegate()
getDelegate
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
public com.ibatis.sqlmap.engine.mapping.result.ResultObjectFactory getResultObjectFactory()
getResultObjectFactory
in interface com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient
Copyright © 2013–2017 Alibaba Group. All rights reserved.