Package org.springframework.orm.hibernate

Package providing integration of Hibernate with Spring concepts.


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

Class Summary
HibernateAccessor Base class for HibernateTemplate and HibernateInterceptor, defining common properties like 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, compatible to the org.springframework.dao exception hierarchy.
HibernateTransactionManager PlatformTransactionManager implementation for single Hibernate session factories.
HibernateTransactionObject Hibernate transaction object, representing a SessionHolder.
LocalDataSourceConnectionProvider Hibernate connection provider for local DataSource instances in an application context.
LocalSessionFactoryBean FactoryBean that creates a local Hibernate SessionFactory instance.
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.

Exception Summary
HibernateJdbcException Hibernate-specific subclass of DataAccessException, for JDBC exceptions that Hibernate rethrew.
HibernateObjectRetrievalFailureException Hibernate-specific subclass of ObjectRetrievalFailureException.
HibernateOptimisticLockingFailureException Hibernate-specific subclass of ObjectOptimisticLockingFailureException.
HibernateQueryException Exception thrown on invalid HQL query syntax.
HibernateSystemException Hibernate-specific subclass of DataAccessException, 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 with Spring concepts. Contains SessionFactory helper classes, a template plus callback for Hibernate access, and a Hibernate implementation of Spring's transaction SPI.

Copyright (C) 2003-2004 The Spring Framework Project.