public class SQLStateResolver extends Object implements org.axonframework.common.jdbc.PersistenceExceptionResolver
| Constructor and Description |
|---|
SQLStateResolver()
Constructor that uses the standard SQL state category for the check.
|
SQLStateResolver(String checkState)
Constructor that can be used to supply a specific SQL state code for the check.
|
public SQLStateResolver()
public SQLStateResolver(String checkState)
checkState - The state string that is used in the check.public boolean isDuplicateKeyViolation(Exception exception)
isDuplicateKeyViolation in interface org.axonframework.common.jdbc.PersistenceExceptionResolverCopyright © 2010–2024. All rights reserved.