public class TransactionWriteDBConnExecutor extends Object implements DBConnExecutorHandler
| 构造器和说明 |
|---|
TransactionWriteDBConnExecutor() |
| 限定符和类型 | 方法和说明 |
|---|---|
Connection |
beginConnection(String dataSource) |
void |
close() |
void |
commit() |
Connection |
getConnection() |
void |
rollback() |
public Connection getConnection()
getConnection 在接口中 DBConnExecutorHandlerpublic Connection beginConnection(String dataSource) throws SQLException
beginConnection 在接口中 DBConnExecutorHandlerSQLExceptionpublic void commit()
throws SQLException
commit 在接口中 DBConnExecutorHandlerSQLExceptionpublic void rollback()
rollback 在接口中 DBConnExecutorHandlerpublic void close()
close 在接口中 DBConnExecutorHandlerCopyright © 2018. All rights reserved.