Package oracle.jdbc

Interface OracleCommonStatement

All Superinterfaces:
AutoCloseable, Statement, Wrapper
All Known Subinterfaces:
OracleCallableStatement, OracleCommonPreparedStatement, OraclePreparedStatement, OracleStatement

public interface OracleCommonStatement extends Statement
Interface that defines the methods which are common between OracleStatement and oracle.nucleo.jdbc.NucleoStatement.
Since:
23
  • Method Details

    • continueOnError

      void continueOnError(ErrorSet errorSet) throws SQLException

      Configures a set of recoverable errors for asynchronous execution of this statement, and any result sets subsequently created by this statement. If asynchronous execution of this statement or one of its result sets fails with an error that is not contained in the given errorSet, then the execution all subsequent asynchronous operations are aborted until the next OracleCommonConnection.resume().

      If this method is never called, then the set of recoverable errors is configured by OracleCommonConnection.continueOnError(ErrorSet).

      Calling this method does not affect any existing result set.

      Parameters:
      errorSet - the set of errors by this statement or its result sets which do not abort subsequent operations. Not null.
      Throws:
      SQLException - if a database access error occurs or this method is called on a closed Statement
      NullPointerException - if the continueOnErrorSet is null
      IllegalArgumentException - if the continueOnErrorSet is not supported. At a minimum, all drivers must support ErrorSet.NO_ERRORS and ErrorSet.ALL_ERRORS
      Since:
      23