com.interface21.jdbc.core
Class SQLErrorCodes

java.lang.Object
  |
  +--com.interface21.jdbc.core.SQLErrorCodes

public class SQLErrorCodes
extends java.lang.Object

JavaBean for holding JDBC Error Codes - loaded through BeanFactory implementation. Used by the SQLExceptionTranslater.

Author:
trisberg

Constructor Summary
SQLErrorCodes()
           
 
Method Summary
 java.lang.String[] getBadSqlGrammarCodes()
          Returns the badSqlGrammarCodes.
 java.lang.String[] getDataIntegrityViolationCodes()
          Returns the dataIntegrityViolationCodes.
 void setBadSqlGrammarCodes(java.lang.String[] badSqlGrammarCodes)
          Sets the badSqlGrammarCodes.
 void setDataIntegrityViolationCodes(java.lang.String[] dataIntegrityViolationCodes)
          Sets the dataIntegrityViolationCodes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLErrorCodes

public SQLErrorCodes()
Method Detail

getBadSqlGrammarCodes

public java.lang.String[] getBadSqlGrammarCodes()
Returns the badSqlGrammarCodes.
Returns:
String[]

getDataIntegrityViolationCodes

public java.lang.String[] getDataIntegrityViolationCodes()
Returns the dataIntegrityViolationCodes.
Returns:
String[]

setBadSqlGrammarCodes

public void setBadSqlGrammarCodes(java.lang.String[] badSqlGrammarCodes)
Sets the badSqlGrammarCodes.
Parameters:
badSqlGrammarCodes - The badSqlGrammarCodes to set

setDataIntegrityViolationCodes

public void setDataIntegrityViolationCodes(java.lang.String[] dataIntegrityViolationCodes)
Sets the dataIntegrityViolationCodes.
Parameters:
dataIntegrityViolationCodes - The dataIntegrityViolationCodes to set


Rod Johnson and Spring contributors 2001-2003.