Documentation of 'org.apache.derby.iapi.jdbc.BrokeredStatementControl' Java class
BrokeredStatementControl
org.apache.derby.iapi.jdbc

Interface BrokeredStatementControl



  • public interface BrokeredStatementControl
    Provides control over a BrokeredStatement, BrokeredPreparedStatement or BrokeredCallableStatement
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      int checkHoldCursors(int holdability)
      Can cursors be held across commits.
      void closeRealCallableStatement()
      Close the real JDBC CallableStatement when this is controlling a CallableStatement.
      void closeRealPreparedStatement()
      Close the real JDBC CallableStatement when this is controlling a PreparedStatement.
      void closeRealStatement()
      Close the real JDBC Statement when this is controlling a Statement.
      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.Statement s, java.sql.ResultSet rs)
      Optionally wrap a returned ResultSet in another ResultSet.
    • Method Detail

      • checkHoldCursors

        int checkHoldCursors(int holdability)
                      throws java.sql.SQLException
        Can cursors be held across commits. Returns the holdability that should be used which may be different from the passed in holdabilty.
        Throws:
        java.sql.SQLException
      • closeRealStatement

        void closeRealStatement()
                         throws java.sql.SQLException
        Close the real JDBC Statement when this is controlling a Statement.
        Throws:
        java.sql.SQLException
      • closeRealCallableStatement

        void closeRealCallableStatement()
                                 throws java.sql.SQLException
        Close the real JDBC CallableStatement when this is controlling a CallableStatement.
        Throws:
        java.sql.SQLException
      • closeRealPreparedStatement

        void closeRealPreparedStatement()
                                 throws java.sql.SQLException
        Close the real JDBC CallableStatement when this is controlling a PreparedStatement.
        Throws:
        java.sql.SQLException
      • getRealStatement

        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

        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

        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

        java.sql.ResultSet wrapResultSet(java.sql.Statement s,
                                         java.sql.ResultSet rs)
        Optionally wrap a returned ResultSet in another ResultSet.
        Parameters:
        s - Statement that created the ResultSet.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.