public class SQLStateAcceptor extends Object implements RetryAcceptor
Modifier and Type | Field and Description |
---|---|
static String |
SQLSTATE |
static String |
SQLSTATE_INTEGRITY_CONSTRAINT_VIOLATION |
static String |
SQLSTATE_TRANSACTION_ROLLBACK |
Constructor and Description |
---|
SQLStateAcceptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptException(Throwable throwable,
Map<String,String> propertyMap) |
boolean |
acceptResult(Object returnValue,
Map<String,String> propertyMap) |
public static final String SQLSTATE
public static final String SQLSTATE_INTEGRITY_CONSTRAINT_VIOLATION
public static final String SQLSTATE_TRANSACTION_ROLLBACK
public boolean acceptException(Throwable throwable, Map<String,String> propertyMap)
acceptException
in interface RetryAcceptor
public boolean acceptResult(Object returnValue, Map<String,String> propertyMap)
acceptResult
in interface RetryAcceptor