|
||||||||||
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. |
int |
getPrepareIsolation()
Get the internal isolation level to use for preparing statements. |
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. |
void |
setDrdaID(java.lang.String drdaID)
Set drdaID of underlying connection |
void |
setPrepareIsolation(int level)
Set the internal isolation level to use for preparing statements. |
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
public void setDrdaID(java.lang.String drdaID)
drdaID
- - drdaId of connectionpublic void setPrepareIsolation(int level) throws java.sql.SQLException
level
- - isolation level for prepared statements
java.sql.SQLException
public int getPrepareIsolation() throws java.sql.SQLException
java.sql.SQLException
|
Built on Mon 2007-06-04 09:58:47+0400, from revision ??? | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |