| java.lang.Object org.apache.derby.jdbc.EmbedPooledConnection org.apache.derby.jdbc.EmbedXAConnection
All known Subclasses: org.apache.derby.jdbc.EmbedXAConnection40,
checkAutoCommit | public void checkAutoCommit(boolean autoCommit) throws SQLException(Code) | | Allow control over setting auto commit mode.
|
checkCommit | public void checkCommit() throws SQLException(Code) | | Allow control over calling commit.
|
checkHoldCursors | public int checkHoldCursors(int holdability, boolean downgrade) throws SQLException(Code) | | Are held cursors allowed. If the connection is attached to
a global transaction then downgrade the result set holdabilty
to CLOSE_CURSORS_AT_COMMIT if downgrade is true, otherwise
throw an exception.
If the connection is in a local transaction then the
passed in holdabilty is returned.
|
checkRollback | public void checkRollback() throws SQLException(Code) | | Allow control over calling rollback.
|
checkSavepoint | public void checkSavepoint() throws SQLException(Code) | | Allow control over creating a Savepoint (JDBC 3.0)
|
getRealConnection | public EngineConnection getRealConnection() throws SQLException(Code) | | Override getRealConnection to create a a local connection
when we are not associated with an XA transaction.
This can occur if the application has a Connection object (conn)
and the following sequence occurs.
conn = xac.getConnection();
xac.start(xid, ...)
// do work with conn
xac.end(xid, ...);
// do local work with conn
// need to create new connection here.
|
|
|