public class SQLStateAcceptor extends Object implements RetryAcceptor
| Modifier and Type | Field and Description |
|---|---|
static String |
SQLSTATE |
static String |
SQLSTATE_INTEGRITY_CONSTRAINT_VIOLATION |
| 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 boolean acceptException(Throwable throwable,
Map<String,String> propertyMap)
acceptException in interface RetryAcceptorpublic boolean acceptResult(Object returnValue,
Map<String,String> propertyMap)
acceptResult in interface RetryAcceptor