Class MySqlQueryExceptionHandler

    • Constructor Detail

      • MySqlQueryExceptionHandler

        public MySqlQueryExceptionHandler()
    • Method Detail

      • isTimeoutException

        public boolean isTimeoutException​(SQLException exception)
        Description copied from class: QueryExceptionHandler
        Indicates if a given exception is a timeout. Logic for this may be driver-specific, so drivers that support query timeouts may have to override this method. A timeout exception can also be considered retryable.
        Overrides:
        isTimeoutException in class QueryExceptionHandler
        Parameters:
        exception - The exception to check.
        Returns:
        true if the exception is a timeout, false otherwise.