public class FlexSpringTransaction extends Object implements org.apache.ibatis.transaction.Transaction
| Constructor and Description |
|---|
FlexSpringTransaction(DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
Connection |
getConnection() |
Integer |
getTimeout() |
void |
rollback() |
public FlexSpringTransaction(DataSource dataSource)
public Connection getConnection() throws SQLException
getConnection in interface org.apache.ibatis.transaction.TransactionSQLExceptionpublic void commit()
throws SQLException
commit in interface org.apache.ibatis.transaction.TransactionSQLExceptionpublic void rollback()
throws SQLException
rollback in interface org.apache.ibatis.transaction.TransactionSQLExceptionpublic void close()
throws SQLException
close in interface org.apache.ibatis.transaction.TransactionSQLExceptionpublic Integer getTimeout() throws SQLException
getTimeout in interface org.apache.ibatis.transaction.TransactionSQLExceptionCopyright © 2024. All rights reserved.