org.riotfamily.riot.hibernate.support
Class LongConversationTemplate
java.lang.Object
org.springframework.orm.hibernate3.HibernateAccessor
org.riotfamily.riot.hibernate.support.LongConversationTemplate
- All Implemented Interfaces:
- BeanFactoryAware, InitializingBean
public class LongConversationTemplate
- extends HibernateAccessor
Class similar to Spring's HibernateTemplate that simplifies working with
long conversations. This class can be considered as alternative to using
an AOP HibernateInterceptor.
- Since:
- 8.0
- Author:
- Felix Gnass [fgnass at neteye dot de]
- See Also:
- Hibernate Reference - Long conversations
Methods inherited from class org.springframework.orm.hibernate3.HibernateAccessor |
afterPropertiesSet, applyFlushMode, convertHibernateAccessException, convertJdbcAccessException, convertJdbcAccessException, disableFilters, enableFilters, flushIfNecessary, getDefaultJdbcExceptionTranslator, getEntityInterceptor, getFilterNames, getFlushMode, getJdbcExceptionTranslator, getSessionFactory, setBeanFactory, setEntityInterceptor, setEntityInterceptorBeanName, setFilterName, setFilterNames, setFlushMode, setFlushModeName, setJdbcExceptionTranslator, setSessionFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongConversationTemplate
public LongConversationTemplate(org.hibernate.SessionFactory sessionFactory)
execute
public final void execute(LongConversationCallback callback)
throws Exception
- Throws:
Exception