public class ExternalTransactionManager extends Object implements TransactionManager
Constructor and Description |
---|
ExternalTransactionManager(Connection connection,
boolean autoCommit,
boolean isSetAutoCommitAllowed) |
Modifier and Type | Method and Description |
---|---|
void |
begin()
Begin the transaction
|
void |
commit()
Commit the transaction
|
void |
rollback()
Rollback the transaction
|
public ExternalTransactionManager(Connection connection, boolean autoCommit, boolean isSetAutoCommitAllowed)
connection
- public void begin()
TransactionManager
begin
in interface TransactionManager
public void commit()
TransactionManager
commit
in interface TransactionManager
public void rollback()
TransactionManager
rollback
in interface TransactionManager
Copyright © 2020. All rights reserved.