public class SqlMapSessionWrapper extends SqlMapExecutorWrapper implements com.ibatis.sqlmap.client.SqlMapSession
Constructor and Description |
---|
SqlMapSessionWrapper(com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient client,
com.ibatis.sqlmap.client.SqlMapSession session) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
commitTransaction() |
void |
endTransaction() |
Connection |
getCurrentConnection() |
DataSource |
getDataSource() |
Connection |
getUserConnection()
Deprecated.
|
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 SqlMapSessionWrapper(com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient client, com.ibatis.sqlmap.client.SqlMapSession session)
public void startTransaction() throws SQLException
startTransaction
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
SQLException
public void startTransaction(int transactionIsolation) throws SQLException
startTransaction
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
SQLException
public void commitTransaction() throws SQLException
commitTransaction
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
SQLException
public void endTransaction() throws SQLException
endTransaction
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
SQLException
public void setUserConnection(Connection connection) throws SQLException
setUserConnection
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
SQLException
@Deprecated public Connection getUserConnection() throws SQLException
getUserConnection
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
SQLException
public Connection getCurrentConnection() throws SQLException
getCurrentConnection
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
SQLException
public DataSource getDataSource()
getDataSource
in interface com.ibatis.sqlmap.client.SqlMapTransactionManager
public void close()
close
in interface com.ibatis.sqlmap.client.SqlMapSession
Copyright © 2013–2017 Alibaba Group. All rights reserved.