org.apache.derby.iapi.jdbc
Interface BrokeredStatementControl

All Known Implementing Classes:
XAStatementControl

public interface BrokeredStatementControl

Provides control over a BrokeredStatement, BrokeredPreparedStatement or BrokeredCallableStatement


Method Summary
 void checkHoldCursors(int holdability)
          Can cursors be held across commits.
 java.sql.CallableStatement getRealCallableStatement()
          Return the real JDBC CallableStatement for the brokered statement when this is controlling a CallableStatement.
 java.sql.PreparedStatement getRealPreparedStatement()
          Return the real JDBC PreparedStatement for the brokered statement when this is controlling a PreparedStatement.
 java.sql.Statement getRealStatement()
          Return the real JDBC statement for the brokered statement when this is controlling a Statement.
 java.sql.ResultSet wrapResultSet(java.sql.ResultSet rs)
          Optionally wrap a returned ResultSet in another ResultSet.
 

Method Detail

checkHoldCursors

public void checkHoldCursors(int holdability)
                      throws java.sql.SQLException
Can cursors be held across commits.

Throws:
java.sql.SQLException

getRealStatement

public java.sql.Statement getRealStatement()
                                    throws java.sql.SQLException
Return the real JDBC statement for the brokered statement when this is controlling a Statement.

Throws:
java.sql.SQLException

getRealPreparedStatement

public java.sql.PreparedStatement getRealPreparedStatement()
                                                    throws java.sql.SQLException
Return the real JDBC PreparedStatement for the brokered statement when this is controlling a PreparedStatement.

Throws:
java.sql.SQLException

getRealCallableStatement

public java.sql.CallableStatement getRealCallableStatement()
                                                    throws java.sql.SQLException
Return the real JDBC CallableStatement for the brokered statement when this is controlling a CallableStatement.

Throws:
java.sql.SQLException

wrapResultSet

public java.sql.ResultSet wrapResultSet(java.sql.ResultSet rs)
Optionally wrap a returned ResultSet in another ResultSet.


Built on Tue 2006-10-10 19:23:47+0200, from revision exported

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.