Interface BrokeredStatementControl

All Known Implementing Classes:
XAStatementControl

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

    • checkHoldCursors

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

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

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

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

      Statement getRealStatement() throws SQLException
      Return the real JDBC statement for the brokered statement when this is controlling a Statement.
      Throws:
      SQLException
    • getRealPreparedStatement

      PreparedStatement getRealPreparedStatement() throws SQLException
      Return the real JDBC PreparedStatement for the brokered statement when this is controlling a PreparedStatement.
      Throws:
      SQLException
    • getRealCallableStatement

      CallableStatement getRealCallableStatement() throws SQLException
      Return the real JDBC CallableStatement for the brokered statement when this is controlling a CallableStatement.
      Throws:
      SQLException
    • wrapResultSet

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