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, 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 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.SqlMapTransactionManagerSQLExceptionpublic void startTransaction(int transactionIsolation)
throws SQLException
startTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManagerSQLExceptionpublic void commitTransaction()
throws SQLException
commitTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManagerSQLExceptionpublic void endTransaction()
throws SQLException
endTransaction in interface com.ibatis.sqlmap.client.SqlMapTransactionManagerSQLExceptionpublic void setUserConnection(Connection connection) throws SQLException
setUserConnection in interface com.ibatis.sqlmap.client.SqlMapTransactionManagerSQLException@Deprecated public Connection getUserConnection() throws SQLException
getUserConnection in interface com.ibatis.sqlmap.client.SqlMapTransactionManagerSQLExceptionpublic Connection getCurrentConnection() throws SQLException
getCurrentConnection in interface com.ibatis.sqlmap.client.SqlMapTransactionManagerSQLExceptionpublic DataSource getDataSource()
getDataSource in interface com.ibatis.sqlmap.client.SqlMapTransactionManagerpublic void close()
close in interface com.ibatis.sqlmap.client.SqlMapSessionCopyright © 2013–2018 Alibaba Group. All rights reserved.