java.lang.Object | |
↳ | org.springframework.jdbc.support.CustomSQLErrorCodesTranslation |
JavaBean for holding custom JDBC error codes translation for a particular database. The "exceptionClass" property defines which exception will be thrown for the list of error codes specified in the errorCodes property.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the SQL error codes to match.
| |||||||||||
Return the exception class for the specified error codes.
| |||||||||||
Set the SQL error codes to match.
| |||||||||||
Set the exception class for the specified error codes.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Set the exception class for the specified error codes.