Package org.springframework.orm.hibernate3

Package providing integration of Hibernate3 with Spring concepts.

See:
          Description

Interface Summary
HibernateCallback<T> Callback interface for Hibernate code.
HibernateConfigurationCallback<C extends Configuration> Callback for use in conjunction with SessionFactoryBuilderSupport.doWithConfiguration(org.springframework.orm.hibernate3.HibernateConfigurationCallback).
HibernateOperations Interface that specifies a basic set of Hibernate operations, implemented by HibernateTemplate.
SessionFactoryBeanOperations Operations common to LocalSessionFactoryBean and AnnotationSessionFactoryBean types but not available via their respective *Builder supertypes.
 

Class Summary
FilterDefinitionFactoryBean Convenient FactoryBean for defining Hibernate FilterDefinitions.
HibernateAccessor Base class for HibernateTemplate and HibernateInterceptor, defining common properties such as SessionFactory and flushing behavior.
HibernateExceptionTranslator PersistenceExceptionTranslator capable of translating HibernateException instances to Spring's DataAccessException hierarchy.
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.
HibernateTransactionManager PlatformTransactionManager implementation for a single Hibernate SessionFactory.
LocalCacheProviderProxy Deprecated. as of Spring 3.1 to reflect the deprecation of the CacheProvider SPI in Hibernate 3.3.
LocalDataSourceConnectionProvider Hibernate connection provider for local DataSource instances in an application context.
LocalJtaDataSourceConnectionProvider Subclass of LocalDataSourceConnectionProvider that will be used if SessionFactoryBean's "dataSource" property is set in combination with a Hibernate TransactionManagerLookup.
LocalRegionFactoryProxy Proxy for a Hibernate RegionFactory, delegating to a Spring-managed RegionFactory instance, determined by SessionFactoryBuilder's "cacheRegionFactory" property.
LocalSessionFactoryBean Subclass of SessionFactoryBuilder adhering to Spring's FactoryBean contract, making it suitable for use in XML configuration.
LocalTransactionManagerLookup Implementation of Hibernate's TransactionManagerLookup interface that returns a Spring-managed JTA TransactionManager, determined by SessionFactoryBuilder's "jtaTransactionManager" property.
SessionFactoryBeanDelegate Encapsulates common SessionFactoryBeanOperations behavior in order to avoid multiple-inheritance issues with SessionFactoryBeanOperations implementations that need to extend *SessionFactoryBuilder types.
SessionFactoryBuilder Hibernate Configuration builder suitable for use within Spring @Configuration class @Bean methods.
SessionFactoryBuilderSupport<This extends SessionFactoryBuilderSupport<This>> Abstract base class for Spring's Hibernate SessionFactory *Builder and *FactoryBean types.
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.
SpringSessionContext Implementation of Hibernate 3.1's CurrentSessionContext interface that delegates to Spring's SessionFactoryUtils for providing a Spring-managed current Session.
SpringTransactionFactory Spring-aware implementation of the Hibernate TransactionFactory interface, aware of Spring-synchronized transactions (in particular Spring-managed JTA transactions) and asking for default release mode ON_CLOSE.
TransactionAwareDataSourceConnectionProvider Subclass of LocalDataSourceConnectionProvider that returns a transaction-aware proxy for the exposed DataSource.
TypeDefinitionBean Bean that encapsulates a Hibernate type definition.
 

Exception Summary
HibernateJdbcException Hibernate-specific subclass of UncategorizedDataAccessException, for JDBC exceptions that Hibernate wrapped.
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.hibernate3 Description

Package providing integration of Hibernate3 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 3.x only. See the org.springframework.orm.hibernate package for Hibernate 2.1 support.