Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.iapi.jdbc
Interface BrokeredStatementControl  view BrokeredStatementControl download BrokeredStatementControl.java


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.


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.


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.


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.


wrapResultSet

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