Datastore implementation that uses a Hibernate SessionFactory underneath.
Fields inherited from class | Fields |
---|---|
class AbstractHibernateDatastore |
CONFIG_PROPERTY_AUTO_FLUSH, CONFIG_PROPERTY_CACHE_QUERIES, CONFIG_PROPERTY_DEFAULT_MAPPING, CONFIG_PROPERTY_FAIL_ON_ERROR, CONFIG_PROPERTY_FLUSH_MODE, CONFIG_PROPERTY_OSIV_READONLY, CONFIG_PROPERTY_PASS_READONLY_TO_HIBERNATE, eventTriggeringInterceptor, sessionFactory |
class AbstractDatastore |
LOG, cacheAdapterRepository, connectionDetails, mappingContext |
Constructor and description |
---|
HibernateDatastore
(MappingContext mappingContext, org.hibernate.SessionFactory sessionFactory, org.springframework.core.env.PropertyResolver config) |
HibernateDatastore
(MappingContext mappingContext, org.hibernate.SessionFactory sessionFactory, org.springframework.core.env.PropertyResolver config, org.springframework.context.ApplicationContext applicationContext) |
HibernateDatastore
(MappingContext mappingContext, org.hibernate.SessionFactory sessionFactory, org.springframework.core.env.PropertyResolver config, java.lang.String dataSourceName) |
Type | Name and description |
---|---|
protected Session |
createSession(org.springframework.core.env.PropertyResolver connectionDetails) |
Session |
getCurrentSession() |
IHibernateTemplate |
getHibernateTemplate(int flushMode) |
org.hibernate.Session |
openSession() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
withFlushMode(FlushMode flushMode, java.util.concurrent.Callable<java.lang.Boolean> callable) |
Methods inherited from class | Name |
---|---|
class AbstractHibernateDatastore |
destroy, getDataSourceName, getDefaultFlushMode, getEventTriggeringInterceptor, getHibernateTemplate, getHibernateTemplate, getSessionFactory, isAutoFlush, isCacheQueries, isFailOnError, isOsivReadOnly, isPassReadOnlyToHibernate, openSession, withFlushMode |
class AbstractDatastore |
connect, connect, connectStateless, createSession, createStatelessSession, destroy, getApplicationContext, getApplicationEventPublisher, getCurrentSession, getMappingContext, hasCurrentSession, initializeConverters, isIndexed, isSchemaless, mapToPropertyResolver, retrieveSession, retrieveSession, setApplicationContext |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |