public class SpringManagedTransaction extends Object implements online.sanen.cdm.template.transaction.Transaction
| 构造器和说明 |
|---|
SpringManagedTransaction(DataSource dataSource) |
public SpringManagedTransaction(DataSource dataSource)
public Connection getConnection() throws SQLException
getConnection 在接口中 online.sanen.cdm.template.transaction.TransactionSQLExceptionpublic void commit()
throws SQLException
commit 在接口中 online.sanen.cdm.template.transaction.TransactionSQLExceptionpublic void rollback()
throws SQLException
rollback 在接口中 online.sanen.cdm.template.transaction.TransactionSQLExceptionpublic void close()
throws SQLException
close 在接口中 online.sanen.cdm.template.transaction.TransactionSQLExceptionpublic Integer getTimeout() throws SQLException
getTimeout 在接口中 online.sanen.cdm.template.transaction.TransactionSQLExceptionCopyright © 2018. All rights reserved.