Class OracleExceptionSorter

java.lang.Object
com.alibaba.druid.pool.vendor.OracleExceptionSorter
All Implemented Interfaces:
ExceptionSorter, Serializable
Direct Known Subclasses:
OceanBaseOracleExceptionSorter

public class OracleExceptionSorter extends Object implements ExceptionSorter, Serializable
Implementation of ExceptionSorter for Oracle.
See Also:
  • Constructor Details

    • OracleExceptionSorter

      public OracleExceptionSorter()
  • Method Details

    • configFromProperties

      public void configFromProperties(Properties properties)
      Specified by:
      configFromProperties in interface ExceptionSorter
    • getFatalErrorCodes

      public Set<Integer> getFatalErrorCodes()
    • setFatalErrorCodes

      public void setFatalErrorCodes(Set<Integer> fatalErrorCodes)
    • isExceptionFatal

      public boolean isExceptionFatal(SQLException e)
      Description copied from interface: ExceptionSorter
      Returns true or false whether or not the exception is fatal.
      Specified by:
      isExceptionFatal in interface ExceptionSorter
      Parameters:
      e - the exception
      Returns:
      true or false if the exception is fatal.