public interface EventSource extends SessionImplementor, Session
LobCreationContext.Callback<T>
Session.LockRequest
Modifier and Type | Method and Description |
---|---|
void |
delete(String entityName,
Object child,
boolean isCascadeDeleteEnabled,
Set transientEntities)
Cascade delete an entity instance
|
void |
forceFlush(EntityEntry e)
Force an immediate flush
|
ActionQueue |
getActionQueue()
Get the ActionQueue for this session
|
Object |
instantiate(EntityPersister persister,
Serializable id)
Instantiate an entity instance, using either an interceptor,
or the given persister
|
void |
merge(String entityName,
Object object,
Map copiedAlready)
Cascade merge an entity instance
|
void |
persist(String entityName,
Object object,
Map createdAlready)
Cascade persist an entity instance
|
void |
persistOnFlush(String entityName,
Object object,
Map copiedAlready)
Cascade persist an entity instance during the flush process
|
void |
refresh(Object object,
Map refreshedAlready)
Cascade refresh an entity instance
|
void |
removeOrphanBeforeUpdates(String entityName,
Object child)
A specialized type of deletion for orphan removal that must occur prior to queued inserts and updates.
|
afterScrollOperation, bestGuessEntityName, connection, disableTransactionAutoJoin, executeNativeUpdate, executeUpdate, flush, generateCacheKey, generateEntityKey, getCacheMode, getContextEntityIdentifier, getDontFlushFromFind, getEnabledFilters, getEntityPersister, getEntityUsingInterceptor, getEventListenerManager, getFactory, getFetchProfile, getFilterParameterType, getFilterParameterValue, getFlushMode, getInterceptor, getJdbcConnectionAccess, getLoadQueryInfluencers, getNamedQuery, getNamedSQLQuery, getPersistenceContext, getTenantIdentifier, getTimestamp, getTransactionCoordinator, guessEntityName, immediateLoad, initializeCollection, instantiate, internalLoad, isClosed, isConnected, isEventSource, isOpen, isTransactionInProgress, iterate, iterateFilter, list, list, list, listCustomQuery, listFilter, scroll, scroll, scroll, scrollCustomQuery, setAutoClear, setCacheMode, setFetchProfile, setFlushMode
execute
addEventListeners, buildLockRequest, byId, byId, byNaturalId, byNaturalId, bySimpleNaturalId, bySimpleNaturalId, cancelQuery, clear, close, contains, createFilter, delete, delete, disableFetchProfile, disableFilter, disconnect, doReturningWork, doWork, enableFetchProfile, enableFilter, evict, flush, get, get, get, get, get, get, getCacheMode, getCurrentLockMode, getEnabledFilter, getEntityName, getFlushMode, getIdentifier, getLobHelper, getSessionFactory, getStatistics, getTypeHelper, isConnected, isDefaultReadOnly, isDirty, isFetchProfileEnabled, isOpen, isReadOnly, load, load, load, load, load, load, load, lock, lock, merge, merge, persist, persist, reconnect, refresh, refresh, refresh, refresh, refresh, replicate, replicate, save, save, saveOrUpdate, saveOrUpdate, sessionWithOptions, setCacheMode, setDefaultReadOnly, setFlushMode, setReadOnly, update, update
beginTransaction, createCriteria, createCriteria, createCriteria, createCriteria, createQuery, createSQLQuery, getNamedQuery, getTenantIdentifier, getTransaction
ActionQueue getActionQueue()
Object instantiate(EntityPersister persister, Serializable id) throws HibernateException
HibernateException
void forceFlush(EntityEntry e) throws HibernateException
HibernateException
void merge(String entityName, Object object, Map copiedAlready) throws HibernateException
HibernateException
void persist(String entityName, Object object, Map createdAlready) throws HibernateException
HibernateException
void persistOnFlush(String entityName, Object object, Map copiedAlready)
void refresh(Object object, Map refreshedAlready) throws HibernateException
HibernateException
void delete(String entityName, Object child, boolean isCascadeDeleteEnabled, Set transientEntities)
Copyright © 2018 JBoss by Red Hat. All rights reserved.