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

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

The Spring Framework

Uses of Interface
org.springframework.jdbc.support.SQLExceptionTranslator

Packages that use SQLExceptionTranslator
org.springframework.jdbc.core.support Classes supporting the org.springframework.jdbc.core package. 
org.springframework.jdbc.support Support classes for the JDBC framework, used by the classes in the jdbc.core and jdbc.object packages. 
org.springframework.orm.hibernate Package providing integration of Hibernate 2.1 with Spring concepts. 
org.springframework.orm.hibernate3 Package providing integration of Hibernate3 with Spring concepts. 
org.springframework.orm.jdo Package providing integration of JDO (Java Date Objects) with Spring concepts. 
org.springframework.orm.toplink Package providing integration of Oracle TopLink with Spring concepts. 
 

Uses of SQLExceptionTranslator in org.springframework.jdbc.core.support
 

Methods in org.springframework.jdbc.core.support that return SQLExceptionTranslator
protected  SQLExceptionTranslator JdbcDaoSupport.getExceptionTranslator()
          Return the SQLExceptionTranslator of this DAO's JdbcTemplate, for translating SQLExceptions in custom JDBC access code.
 

Uses of SQLExceptionTranslator in org.springframework.jdbc.support
 

Classes in org.springframework.jdbc.support that implement SQLExceptionTranslator
 class SQLErrorCodeSQLExceptionTranslator
          Implementation of SQLExceptionTranslator that analyzes vendor-specific error codes.
 class SQLStateSQLExceptionTranslator
          SQLExceptionTranslator implementation that analyzes the SQL state in the SQLException.
 

Methods in org.springframework.jdbc.support that return SQLExceptionTranslator
 SQLExceptionTranslator JdbcAccessor.getExceptionTranslator()
          Return the exception translator for this instance.
 SQLExceptionTranslator SQLErrorCodeSQLExceptionTranslator.getFallbackTranslator()
          Return the fallback exception translator.
 

Methods in org.springframework.jdbc.support with parameters of type SQLExceptionTranslator
 void JdbcAccessor.setExceptionTranslator(SQLExceptionTranslator exceptionTranslator)
          Set the exception translator for this instance.
 void SQLErrorCodeSQLExceptionTranslator.setFallbackTranslator(SQLExceptionTranslator fallback)
          Override the default SQL state fallback translator.
 

Uses of SQLExceptionTranslator in org.springframework.orm.hibernate
 

Methods in org.springframework.orm.hibernate that return SQLExceptionTranslator
 SQLExceptionTranslator HibernateTransactionManager.getJdbcExceptionTranslator()
          Return the JDBC exception translator for this transaction manager.
 SQLExceptionTranslator HibernateAccessor.getJdbcExceptionTranslator()
          Return the JDBC exception translator for this instance.
static SQLExceptionTranslator SessionFactoryUtils.newJdbcExceptionTranslator(net.sf.hibernate.SessionFactory sessionFactory)
          Create an appropriate SQLExceptionTranslator for the given SessionFactory.
 

Methods in org.springframework.orm.hibernate with parameters of type SQLExceptionTranslator
static net.sf.hibernate.Session SessionFactoryUtils.getSession(net.sf.hibernate.SessionFactory sessionFactory, net.sf.hibernate.Interceptor entityInterceptor, SQLExceptionTranslator jdbcExceptionTranslator)
          Get a Hibernate Session for the given SessionFactory.
 void HibernateTransactionManager.setJdbcExceptionTranslator(SQLExceptionTranslator jdbcExceptionTranslator)
          Set the JDBC exception translator for this transaction manager.
 void HibernateAccessor.setJdbcExceptionTranslator(SQLExceptionTranslator jdbcExceptionTranslator)
          Set the JDBC exception translator for this instance.
 

Uses of SQLExceptionTranslator in org.springframework.orm.hibernate3
 

Methods in org.springframework.orm.hibernate3 that return SQLExceptionTranslator
protected  SQLExceptionTranslator HibernateTransactionManager.getDefaultJdbcExceptionTranslator()
          Obtain a default SQLExceptionTranslator, lazily creating it if necessary.
protected  SQLExceptionTranslator HibernateAccessor.getDefaultJdbcExceptionTranslator()
          Obtain a default SQLExceptionTranslator, lazily creating it if necessary.
 SQLExceptionTranslator HibernateTransactionManager.getJdbcExceptionTranslator()
          Return the JDBC exception translator for this transaction manager, if any.
 SQLExceptionTranslator HibernateAccessor.getJdbcExceptionTranslator()
          Return the JDBC exception translator for this instance, if any.
static SQLExceptionTranslator SessionFactoryUtils.newJdbcExceptionTranslator(SessionFactory sessionFactory)
          Create an appropriate SQLExceptionTranslator for the given SessionFactory.
 

Methods in org.springframework.orm.hibernate3 with parameters of type SQLExceptionTranslator
protected  DataAccessException HibernateTransactionManager.convertJdbcAccessException(JDBCException ex, SQLExceptionTranslator translator)
          Convert the given Hibernate JDBCException to an appropriate exception from the org.springframework.dao hierarchy, using the given SQLExceptionTranslator.
protected  DataAccessException HibernateAccessor.convertJdbcAccessException(JDBCException ex, SQLExceptionTranslator translator)
          Convert the given Hibernate JDBCException to an appropriate exception from the org.springframework.dao hierarchy, using the given SQLExceptionTranslator.
static Session SessionFactoryUtils.getSession(SessionFactory sessionFactory, Interceptor entityInterceptor, SQLExceptionTranslator jdbcExceptionTranslator)
          Get a Hibernate Session for the given SessionFactory.
 void HibernateTransactionManager.setJdbcExceptionTranslator(SQLExceptionTranslator jdbcExceptionTranslator)
          Set the JDBC exception translator for this transaction manager.
 void HibernateAccessor.setJdbcExceptionTranslator(SQLExceptionTranslator jdbcExceptionTranslator)
          Set the JDBC exception translator for this instance.
 void AbstractSessionFactoryBean.setJdbcExceptionTranslator(SQLExceptionTranslator jdbcExceptionTranslator)
          Set the JDBC exception translator for the SessionFactory, exposed via the PersistenceExceptionTranslator interface.
 

Uses of SQLExceptionTranslator in org.springframework.orm.jdo
 

Methods in org.springframework.orm.jdo that return SQLExceptionTranslator
 SQLExceptionTranslator DefaultJdoDialect.getJdbcExceptionTranslator()
          Return the JDBC exception translator for this dialect, if any.
 

Methods in org.springframework.orm.jdo with parameters of type SQLExceptionTranslator
 void DefaultJdoDialect.setJdbcExceptionTranslator(SQLExceptionTranslator jdbcExceptionTranslator)
          Set the JDBC exception translator for this dialect.
 

Uses of SQLExceptionTranslator in org.springframework.orm.toplink
 

Methods in org.springframework.orm.toplink that return SQLExceptionTranslator
 SQLExceptionTranslator TopLinkTransactionManager.getJdbcExceptionTranslator()
          Return the JDBC exception translator for this transaction manager, if any.
 SQLExceptionTranslator TopLinkAccessor.getJdbcExceptionTranslator()
          Return the JDBC exception translator for this instance, if any.
 SQLExceptionTranslator LocalSessionFactoryBean.getJdbcExceptionTranslator()
          Return the JDBC exception translator for this instance, if any.
 

Methods in org.springframework.orm.toplink with parameters of type SQLExceptionTranslator
 void TopLinkTransactionManager.setJdbcExceptionTranslator(SQLExceptionTranslator jdbcExceptionTranslator)
          Set the JDBC exception translator for this transaction manager.
 void TopLinkAccessor.setJdbcExceptionTranslator(SQLExceptionTranslator jdbcExceptionTranslator)
          Set the JDBC exception translator for this instance.
 void LocalSessionFactoryBean.setJdbcExceptionTranslator(SQLExceptionTranslator jdbcExceptionTranslator)
          Set the JDBC exception translator for this SessionFactory.
 


The Spring Framework

Copyright © 2002-2007 The Spring Framework.