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() |
XAConnection |
getConnection() |
XAConnection |
getCurrentConnection() |
XADataSource |
getDataSource() |
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)
XAResource getResource() throws SQLException
SQLException
XAConnection getConnection() throws SQLException
SQLException
XAConnection getCurrentConnection() throws SQLException
SQLException
XADataSource getDataSource() throws SQLException
SQLException
void closeCloseCurrentConnection() throws SQLException
SQLException
boolean inuse()
void reset()
void close()
boolean setTransaction(javax.transaction.Transaction tx)
boolean validTransaction(javax.transaction.Transaction tx)
Copyright © 2012. All Rights Reserved.