java.lang.Object
org.firebirdsql.jaybird.xca.FBLocalTransaction
The class
FBLocalTransaction
represent a local, not distributed, transaction. A flag is used to
distinguish the current functionality. This class works by delegating the operations to the internal implementation
of the XAResource functionality in FBManagedConnection.- Author:
- David Jencks
-
Method Summary
-
Method Details
-
inTransaction
Check if managed connection is currently participating in transaction.- Returns:
true
if managed connection is participating in transaction.- Throws:
SQLException
- if operation cannot be completed.
-
begin
Begin a local transaction.- Throws:
SQLException
- generic exception if operation fails
-
begin
- Throws:
SQLException
-
commit
Commit a local transaction.- Throws:
SQLException
- generic exception if operation fails
-
rollback
Rollback a local transaction.- Throws:
SQLException
- generic exception if operation fails
-