Package ome.tools.spring
Class ManualFlushHibernateTemplate
- java.lang.Object
-
- org.springframework.orm.hibernate3.HibernateAccessor
-
- org.springframework.orm.hibernate3.HibernateTemplate
-
- ome.tools.spring.ManualFlushHibernateTemplate
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.InitializingBean
,org.springframework.orm.hibernate3.HibernateOperations
public class ManualFlushHibernateTemplate extends org.springframework.orm.hibernate3.HibernateTemplate
-
-
Constructor Summary
Constructors Constructor Description ManualFlushHibernateTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkWriteOperationAllowed(org.hibernate.Session session)
-
Methods inherited from class org.springframework.orm.hibernate3.HibernateTemplate
applyNamedParameterToQuery, bulkUpdate, bulkUpdate, bulkUpdate, clear, closeIterator, contains, createSessionProxy, delete, delete, delete, delete, deleteAll, doExecute, enableFilter, evict, execute, executeFind, executeWithNativeSession, executeWithNewSession, find, find, find, findByCriteria, findByCriteria, findByExample, findByExample, findByExample, findByExample, findByNamedParam, findByNamedParam, findByNamedQuery, findByNamedQuery, findByNamedQuery, findByNamedQueryAndNamedParam, findByNamedQueryAndNamedParam, findByNamedQueryAndValueBean, findByValueBean, flush, get, get, get, get, getFetchSize, getMaxResults, getQueryCacheRegion, getSession, initialize, isAllowCreate, isAlwaysUseNewSession, isCacheQueries, isCheckWriteOperations, isExposeNativeSession, iterate, iterate, iterate, load, load, load, load, load, loadAll, lock, lock, merge, merge, persist, persist, prepareCriteria, prepareQuery, refresh, refresh, replicate, replicate, save, save, saveOrUpdate, saveOrUpdate, setAllowCreate, setAlwaysUseNewSession, setCacheQueries, setCheckWriteOperations, setExposeNativeSession, setFetchSize, setMaxResults, setQueryCacheRegion, update, update, update, update
-
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
-
-
-
-
Method Detail
-
checkWriteOperationAllowed
protected void checkWriteOperationAllowed(org.hibernate.Session session) throws org.springframework.dao.InvalidDataAccessApiUsageException
- Overrides:
checkWriteOperationAllowed
in classorg.springframework.orm.hibernate3.HibernateTemplate
- Throws:
org.springframework.dao.InvalidDataAccessApiUsageException
-
-