站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

org.springframework.jdbc.support (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

Package org.springframework.jdbc.support

Support classes for the JDBC framework, used by the classes in the jdbc.core and jdbc.object packages.

See:
          Description

Interface Summary
DatabaseMetaDataCallback A callback interface used by the JdbcUtils class.
KeyHolder Interface for retrieving keys, typically used for auto-generated keys as potentially returned by JDBC insert statements.
SQLExceptionTranslator Strategy interface for translating between SQLExceptions and Spring's data access strategy-agnostic DataAccessException hierarchy.
 

Class Summary
CustomSQLErrorCodesTranslation JavaBean for holding Custom JDBC Error Codes translation for a particular database.
DatabaseStartupValidator Bean that checks if a database has already started up.
GeneratedKeyHolder Default implementation of the KeyHolder interface, to be used for holding auto-generated keys (as potentially returned by JDBC insert statements).
JdbcAccessor Base class for JdbcTemplate and other JDBC-accessing DAO helpers, defining common properties such as DataSource and exception translator.
JdbcUtils Generic utility methods for working with JDBC.
SQLErrorCodes JavaBean for holding JDBC error codes for a particular database.
SQLErrorCodesFactory Factory for creating SQLErrorCodes based on the "databaseProductName" taken from the DatabaseMetaData.
SQLErrorCodeSQLExceptionTranslator Implementation of SQLExceptionTranslator that analyzes vendor-specific error codes.
SQLStateSQLExceptionTranslator SQLExceptionTranslator implementation that analyzes the SQL state in the SQLException.
 

Exception Summary
MetaDataAccessException Exception indicating that something went wrong during JDBC metadata lookup.
 

Package org.springframework.jdbc.support Description

Support classes for the JDBC framework, used by the classes in the jdbc.core and jdbc.object packages. Provides a translator from SQLExceptions Spring's generic DataAccessExceptions.

Can be used independently, for example in custom JDBC access code, or in JDBC-based O/R mapping layers.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.