类 SQLErrorCodesFactory


  • public class SQLErrorCodesFactory
    extends Object
    Factory for creating SQLErrorCodes based on the "databaseProductName" taken from the DatabaseMetaData.

    Returns SQLErrorCodes populated with vendor codes defined in a configuration file named "sql-error-codes.xml". Reads the default file in this package if not overridden by a file in the root of the class path (for example in the "/WEB-INF/classes" directory).

    作者:
    Thomas Risberg, Rod Johnson, Juergen Hoeller
    另请参阅:
    DatabaseMetaData.getDatabaseProductName()