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

org.springframework.orm.hibernate (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

Package org.springframework.orm.hibernate

Package providing integration of Hibernate 2.1 with Spring concepts.

See:
          Description

Interface Summary
HibernateCallback Callback interface for Hibernate code.
HibernateOperations Interface that specifies a basic set of Hibernate operations, implemented by HibernateTemplate.
 

Class Summary
HibernateAccessor Base class for HibernateTemplate and HibernateInterceptor, defining common properties such as SessionFactory and flushing behavior.
HibernateInterceptor This interceptor binds a new Hibernate Session to the thread before a method call, closing and removing it afterwards in case of any method outcome.
HibernateTemplate Helper class that simplifies Hibernate data access code, and converts checked HibernateExceptions into unchecked DataAccessExceptions, following the org.springframework.dao exception hierarchy.
HibernateTransactionManager PlatformTransactionManager implementation for a single Hibernate SessionFactory.
LocalDataSourceConnectionProvider Hibernate connection provider for local DataSource instances in an application context.
LocalSessionFactoryBean FactoryBean that creates a Hibernate SessionFactory.
LocalTransactionManagerLookup Implementation of Hibernate's TransactionManagerLookup interface that returns a Spring-managed JTA TransactionManager, determined by LocalSessionFactoryBean's "transactionManager" property.
SessionFactoryUtils Helper class featuring methods for Hibernate Session handling, allowing for reuse of Hibernate Session instances within transactions.
SessionHolder Session holder, wrapping a Hibernate Session and a Hibernate Transaction.
TransactionAwareDataSourceConnectionProvider Subclass of LocalDataSourceConnectionProvider that returns a transaction-aware proxy for the exposed DataSource.
 

Exception Summary
HibernateJdbcException Hibernate-specific subclass of UncategorizedDataAccessException, for JDBC exceptions that Hibernate rethrew.
HibernateObjectRetrievalFailureException Hibernate-specific subclass of ObjectRetrievalFailureException.
HibernateOptimisticLockingFailureException Hibernate-specific subclass of ObjectOptimisticLockingFailureException.
HibernateQueryException Hibernate-specific subclass of InvalidDataAccessResourceUsageException, thrown on invalid HQL query syntax.
HibernateSystemException Hibernate-specific subclass of UncategorizedDataAccessException, for Hibernate system errors that do not match any concrete org.springframework.dao exceptions.
 

Package org.springframework.orm.hibernate Description

Package providing integration of Hibernate 2.1 with Spring concepts.

Contains SessionFactory helper classes, a template plus callback for Hibernate access, and an implementation of Spring's transaction SPI for local Hibernate transactions.

This package supports Hibernate 2.1 only. See the org.springframework.orm.hibernate3 package for Hibernate 3.x support.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.