|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides control over a BrokeredConnection
Method Summary | |
void |
checkAutoCommit(boolean autoCommit)
Allow control over setting auto commit mode. |
void |
checkCommit()
Allow control over calling commit. |
void |
checkHoldCursors(int holdability)
Can cursors be held across commits. |
void |
checkRollback()
Allow control over calling rollback. |
void |
checkSavepoint()
Allow control over creating a Savepoint (JDBC 3.0) |
boolean |
closingConnection()
Close called on BrokeredConnection. |
java.sql.Connection |
getRealConnection()
Return the real JDBC connection for the brokered connection. |
void |
notifyException(java.sql.SQLException sqle)
Notify the control class that a SQLException was thrown during a call on one of the brokered connection's methods. |
java.sql.CallableStatement |
wrapStatement(java.sql.CallableStatement realStatement,
java.lang.String sql)
Optionally wrap a CallableStatement with an CallableStatement. |
java.sql.PreparedStatement |
wrapStatement(java.sql.PreparedStatement realStatement,
java.lang.String sql,
java.lang.Object generateKeys)
Optionally wrap a PreparedStatement with another PreparedStatement. |
java.sql.Statement |
wrapStatement(java.sql.Statement realStatement)
Optionally wrap a Statement with another Statement. |
Method Detail |
public java.sql.Connection getRealConnection() throws java.sql.SQLException
java.sql.SQLException
public void notifyException(java.sql.SQLException sqle)
public void checkAutoCommit(boolean autoCommit) throws java.sql.SQLException
java.sql.SQLException
public void checkSavepoint() throws java.sql.SQLException
java.sql.SQLException
public void checkRollback() throws java.sql.SQLException
java.sql.SQLException
public void checkCommit() throws java.sql.SQLException
java.sql.SQLException
public void checkHoldCursors(int holdability) throws java.sql.SQLException
java.sql.SQLException
public boolean closingConnection() throws java.sql.SQLException
java.sql.SQLException
public java.sql.Statement wrapStatement(java.sql.Statement realStatement) throws java.sql.SQLException
java.sql.SQLException
public java.sql.PreparedStatement wrapStatement(java.sql.PreparedStatement realStatement, java.lang.String sql, java.lang.Object generateKeys) throws java.sql.SQLException
java.sql.SQLException
public java.sql.CallableStatement wrapStatement(java.sql.CallableStatement realStatement, java.lang.String sql) throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |