|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.caucho.sql.QXAConnection
Represents a single pooled connection. For the most part, it just passes the requests to the underlying JDBC connection.
Closing the connection will return the real connection to the pool and close any statements.
Field Summary | |
protected static WriteStream |
dbg
|
protected static L10N |
L
|
Method Summary | |
void |
commit(com.caucho.sql.Xid xid,
boolean onePhase)
commit the resource |
void |
end(com.caucho.sql.Xid xid,
int flags)
ends work with the resource |
void |
forget(com.caucho.sql.Xid xid)
forget about the transaction |
int |
getTransactionTimeout()
|
com.caucho.sql.XAResource |
getXAResource()
|
boolean |
isSameRM(com.caucho.sql.XAResource resource)
identity of resources |
int |
prepare(com.caucho.sql.Xid xid)
Vote using phase-1 of the 2-phase commit. |
com.caucho.sql.Xid[] |
recover(int flag)
recover the transaction |
void |
rollback(com.caucho.sql.Xid xid)
rollback the resource |
boolean |
setTransactionTimeout(int seconds)
sets the transaction timeout |
void |
start(com.caucho.sql.Xid xid,
int flags)
starts work on a transaction branch |
Field Detail |
protected static WriteStream dbg
protected static L10N L
Method Detail |
public com.caucho.sql.XAResource getXAResource()
public boolean isSameRM(com.caucho.sql.XAResource resource) throws com.caucho.sql.XAException
public void start(com.caucho.sql.Xid xid, int flags) throws com.caucho.sql.XAException
public boolean setTransactionTimeout(int seconds) throws com.caucho.sql.XAException
public int getTransactionTimeout() throws com.caucho.sql.XAException
public void forget(com.caucho.sql.Xid xid) throws com.caucho.sql.XAException
public int prepare(com.caucho.sql.Xid xid) throws com.caucho.sql.XAException
public void rollback(com.caucho.sql.Xid xid) throws com.caucho.sql.XAException
public void commit(com.caucho.sql.Xid xid, boolean onePhase) throws com.caucho.sql.XAException
public com.caucho.sql.Xid[] recover(int flag) throws com.caucho.sql.XAException
public void end(com.caucho.sql.Xid xid, int flags) throws com.caucho.sql.XAException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |