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
SQLExceptionXAConnection getConnection() throws SQLException
SQLExceptionXAConnection getCurrentConnection() throws SQLException
SQLExceptionXADataSource getDataSource() throws SQLException
SQLExceptionvoid closeCloseCurrentConnection()
throws SQLException
SQLExceptionboolean inuse()
void reset()
void close()
boolean setTransaction(javax.transaction.Transaction tx)
boolean validTransaction(javax.transaction.Transaction tx)
Copyright © 2013. All Rights Reserved.