Class OracleQueryExceptionHandler
- java.lang.Object
-
- com.feedzai.commons.sql.abstraction.engine.handler.QueryExceptionHandler
-
- com.feedzai.commons.sql.abstraction.engine.impl.oracle.OracleQueryExceptionHandler
-
public class OracleQueryExceptionHandler extends QueryExceptionHandler
A specific implementation ofQueryExceptionHandlerfor Oracle engine.- Since:
- 2.5.1
- Author:
- José Fidalgo (jose.fidalgo@feedzai.com)
-
-
Constructor Summary
Constructors Constructor Description OracleQueryExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisRetryableException(SQLException exception)Checks if an Exception occurred due to serialization failures in concurrent transactions and may be retried on the client-side.-
Methods inherited from class com.feedzai.commons.sql.abstraction.engine.handler.QueryExceptionHandler
handleException, isTimeoutException
-
-
-
-
Method Detail
-
isRetryableException
public boolean isRetryableException(SQLException exception)
Description copied from class:QueryExceptionHandlerChecks if an Exception occurred due to serialization failures in concurrent transactions and may be retried on the client-side.- Overrides:
isRetryableExceptionin classQueryExceptionHandler- Parameters:
exception- The exception to check.- Returns:
trueif the exception is retryable,falseotherwise.
-
-