public interface RecoverableXAConnection
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTO_RECOVERY |
static int |
OBJECT_RECOVERY |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeCloseCurrentConnection() |
javax.sql.XAConnection |
getConnection() |
javax.sql.XAConnection |
getCurrentConnection() |
javax.sql.XADataSource |
getDataSource() |
javax.transaction.xa.XAResource |
getResource() |
boolean |
inuse() |
boolean |
packInto(OutputObjectState os) |
void |
reset() |
boolean |
setTransaction(javax.transaction.Transaction tx)
Remember the transaction we are being used within.
|
boolean |
unpackFrom(InputObjectState os) |
boolean |
validTransaction(javax.transaction.Transaction tx)
Is this the same transaction?
|
static final int AUTO_RECOVERY
static final int OBJECT_RECOVERY
boolean packInto(OutputObjectState os)
boolean unpackFrom(InputObjectState os)
javax.transaction.xa.XAResource getResource()
throws java.sql.SQLException
java.sql.SQLExceptionjavax.sql.XAConnection getConnection()
throws java.sql.SQLException
java.sql.SQLExceptionjavax.sql.XAConnection getCurrentConnection()
throws java.sql.SQLException
java.sql.SQLExceptionjavax.sql.XADataSource getDataSource()
throws java.sql.SQLException
java.sql.SQLExceptionvoid closeCloseCurrentConnection()
throws java.sql.SQLException
java.sql.SQLExceptionboolean inuse()
void reset()
void close()
boolean setTransaction(javax.transaction.Transaction tx)
boolean validTransaction(javax.transaction.Transaction tx)