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(String entityName,
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, createQuery, createSQLQuery, disableTransactionAutoJoin, executeNativeUpdate, executeUpdate, flush, generateEntityKey, getCacheMode, getContextEntityIdentifier, getDontFlushFromFind, getEntityPersister, getEntityUsingInterceptor, getEventListenerManager, getFactory, getFlushMode, getInterceptor, getJdbcConnectionAccess, getJdbcCoordinator, getLoadQueryInfluencers, getNamedQuery, getNamedSQLQuery, getPersistenceContext, getTenantIdentifier, getTimestamp, getTransactionCoordinator, guessEntityName, immediateLoad, initializeCollection, instantiate, internalLoad, isAutoCloseSessionEnabled, isClosed, isConnected, isEventSource, isOpen, isTransactionInProgress, iterate, iterateFilter, list, list, list, listCustomQuery, listFilter, scroll, scroll, scroll, scrollCustomQuery, setAutoClear, setCacheMode, setFlushMode, shouldAutoClose
execute
getWrapperOptions
addEventListeners, buildLockRequest, byId, byId, byMultipleIds, byMultipleIds, 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, createStoredProcedureCall, createStoredProcedureCall, createStoredProcedureCall, getNamedProcedureCall, 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(String entityName, Object object, Map refreshedAlready) throws HibernateException
HibernateException
void delete(String entityName, Object child, boolean isCascadeDeleteEnabled, Set transientEntities)
Copyright © 2017 JBoss by Red Hat. All rights reserved.