|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.jdbc.support.SQLErrorCodes
JavaBean for holding JDBC Error Codes for a particular database. Normally loaded through a BeanFactory implementation. Used by the SQLErrorCodeSQLExceptionTranslator.
Constructor Summary | |
SQLErrorCodes()
|
Method Summary | |
java.lang.String[] |
getBadSqlGrammarCodes()
Returns the badSqlGrammarCodes. |
java.lang.String[] |
getDataAccessResourceFailureCodes()
|
java.lang.String |
getDatabaseProductName()
|
java.lang.String[] |
getDataIntegrityViolationCodes()
Returns the dataIntegrityViolationCodes. |
java.lang.String[] |
getDataRetrievalFailureCodes()
|
java.lang.String[] |
getOptimisticLockingFailureCodes()
|
void |
setBadSqlGrammarCodes(java.lang.String[] badSqlGrammarCodes)
Sets the badSqlGrammarCodes. |
void |
setDataAccessResourceFailureCodes(java.lang.String[] dataAccessResourceFailureCodes)
|
void |
setDatabaseProductName(java.lang.String databaseProductName)
|
void |
setDataIntegrityViolationCodes(java.lang.String[] dataIntegrityViolationCodes)
Sets the dataIntegrityViolationCodes. |
void |
setDataRetrievalFailureCodes(java.lang.String[] dataRetrievalFailureCodes)
|
void |
setOptimisticLockingFailureCodes(java.lang.String[] optimisticLockingFailureCodes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SQLErrorCodes()
Method Detail |
public void setBadSqlGrammarCodes(java.lang.String[] badSqlGrammarCodes)
public java.lang.String[] getBadSqlGrammarCodes()
public void setDataIntegrityViolationCodes(java.lang.String[] dataIntegrityViolationCodes)
public java.lang.String[] getDataIntegrityViolationCodes()
public java.lang.String[] getDataRetrievalFailureCodes()
public void setDataRetrievalFailureCodes(java.lang.String[] dataRetrievalFailureCodes)
dataRetrievalFailureCodes
- The dataRetrievalFailureCodes to set.public java.lang.String[] getDataAccessResourceFailureCodes()
public void setDataAccessResourceFailureCodes(java.lang.String[] dataAccessResourceFailureCodes)
dataAccessResourceFailureCodes
- The dataAccessResourceFailureCodes to set.public java.lang.String[] getOptimisticLockingFailureCodes()
public void setOptimisticLockingFailureCodes(java.lang.String[] optimisticLockingFailureCodes)
optimisticLockingFailureCodes
- The optimisticLockingFailureCodes to set.public java.lang.String getDatabaseProductName()
public void setDatabaseProductName(java.lang.String databaseProductName)
databaseProductName
- The databaseProductName to set.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |