The Spring Framework

## Uses of Class
org.springframework.jdbc.support.SQLErrorCodes

Packages that use SQLErrorCodes
org.springframework.jdbc.support: Support classes for the JDBC framework, used by the classes in the jdbc.core and jdbc.object packages.

Uses of SQLErrorCodes in org.springframework.jdbc.support

Methods in org.springframework.jdbc.support that return SQLErrorCodes
`SQLErrorCodes` `SQLErrorCodesFactory.getErrorCodes(DataSource dataSource)` Return `SQLErrorCodes` for the given `DataSource`, evaluating "databaseProductName" from the `DatabaseMetaData`, or an empty error codes instance if no `SQLErrorCodes` were found.
`SQLErrorCodes` `SQLErrorCodesFactory.getErrorCodes(String dbName)` Return the `SQLErrorCodes` instance for the given database.
`SQLErrorCodes` `SQLErrorCodeSQLExceptionTranslator.getSqlErrorCodes()` Return the error codes used by this translator.
`SQLErrorCodes` `SQLErrorCodesFactory.registerDatabase(DataSource dataSource, String dbName)` Associate the specified database name with the given `DataSource`.

Methods in org.springframework.jdbc.support with parameters of type SQLErrorCodes
`void` `SQLErrorCodeSQLExceptionTranslator.setSqlErrorCodes(SQLErrorCodes sec)` Set custom error codes to be used for translation.

Constructors in org.springframework.jdbc.support with parameters of type SQLErrorCodes
`SQLErrorCodeSQLExceptionTranslator(SQLErrorCodes sec)` Create a SQLErrorCode translator given these error codes.

The Spring Framework

Copyright © 2002-2008 The Spring Framework.