接口 EventSource
-
- 所有超级接口:
AutoCloseable,Closeable,javax.persistence.EntityManager,HibernateEntityManager,HibernateEntityManager,HibernateEntityManagerFactoryAware,HibernateEntityManagerImplementor,JdbcSessionOwner,LobCreationContext,QueryProducer,QueryProducerImplementor,Serializable,Session,SessionImplementor,SharedSessionContract,SharedSessionContractImplementor,TransactionCoordinatorBuilder.Options,WrapperOptions
- 所有已知实现类:
AbstractSessionImpl,SessionImpl
public interface EventSource extends SessionImplementor
- 作者:
- Gavin King
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.hibernate.jpa.spi.HibernateEntityManagerImplementor
HibernateEntityManagerImplementor.QueryOptions
-
从接口继承的嵌套类/接口 org.hibernate.engine.jdbc.LobCreationContext
LobCreationContext.Callback<T>
-
从接口继承的嵌套类/接口 org.hibernate.Session
Session.LockRequest
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voiddelete(String entityName, Object child, boolean isCascadeDeleteEnabled, Set transientEntities)Cascade delete an entity instancevoidforceFlush(EntityEntry e)Force an immediate flushActionQueuegetActionQueue()Get the ActionQueue for this sessionObjectinstantiate(EntityPersister persister, Serializable id)Instantiate an entity instance, using either an interceptor, or the given persistervoidmerge(String entityName, Object object, Map copiedAlready)Cascade merge an entity instancevoidpersist(String entityName, Object object, Map createdAlready)Cascade persist an entity instancevoidpersistOnFlush(String entityName, Object object, Map copiedAlready)Cascade persist an entity instance during the flush processvoidrefresh(String entityName, Object object, Map refreshedAlready)Cascade refresh an entity instancevoidremoveOrphanBeforeUpdates(String entityName, Object child)A specialized type of deletion for orphan removal that must occur prior to queued inserts and updates.-
从接口继承的方法 javax.persistence.EntityManager
close, contains, createNamedStoredProcedureQuery, createStoredProcedureQuery, createStoredProcedureQuery, createStoredProcedureQuery, detach, find, find, find, find, getCriteriaBuilder, getDelegate, getEntityManagerFactory, getLockMode, getMetamodel, getProperties, getReference, getTransaction, isJoinedToTransaction, isOpen, joinTransaction, lock, lock, refresh, refresh, refresh, remove, setFlushMode, setProperty, unwrap
-
从接口继承的方法 org.hibernate.jpa.spi.HibernateEntityManagerFactoryAware
getFactory
-
从接口继承的方法 org.hibernate.jpa.spi.HibernateEntityManagerImplementor
buildLockOptions, checkOpen, getLockRequest, getSession, isTransactionInProgress, markForRollbackOnly
-
从接口继承的方法 org.hibernate.resource.jdbc.spi.JdbcSessionOwner
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, flushBeforeTransactionCompletion, getJdbcBatchSize, getJdbcConnectionAccess, getJdbcSessionContext, getTransactionCoordinator, startTransactionBoundary
-
从接口继承的方法 org.hibernate.engine.jdbc.LobCreationContext
execute
-
从接口继承的方法 org.hibernate.Session
addEventListeners, buildLockRequest, byId, byId, byMultipleIds, byMultipleIds, byNaturalId, byNaturalId, bySimpleNaturalId, bySimpleNaturalId, cancelQuery, clear, contains, createFilter, delete, delete, disableFetchProfile, disableFilter, disconnect, enableFetchProfile, enableFilter, evict, flush, get, get, get, get, get, get, getCacheMode, getCurrentLockMode, getEnabledFilter, getEntityGraphs, getEntityName, getFlushMode, getHibernateFlushMode, getIdentifier, getLobHelper, getStatistics, getTypeHelper, isDefaultReadOnly, isDirty, isFetchProfileEnabled, 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, setHibernateFlushMode, setReadOnly, update, update
-
从接口继承的方法 org.hibernate.engine.spi.SessionImplementor
createEntityGraph, createEntityGraph, createNamedQuery, createNamedQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, createQuery, createQuery, createQuery, createQuery, createQuery, createSQLQuery, getEntityGraph, getNamedNativeQuery, getNamedQuery, getNamedSQLQuery, getSessionFactory, isFlushBeforeCompletionEnabled
-
从接口继承的方法 org.hibernate.SharedSessionContract
beginTransaction, close, createCriteria, createCriteria, createCriteria, createCriteria, createStoredProcedureCall, createStoredProcedureCall, createStoredProcedureCall, doReturningWork, doWork, getJdbcBatchSize, getNamedProcedureCall, getTransaction, isConnected, isOpen, setJdbcBatchSize
-
从接口继承的方法 org.hibernate.engine.spi.SharedSessionContractImplementor
accessTransaction, afterScrollOperation, bestGuessEntityName, checkOpen, checkOpen, checkTransactionNeededForUpdateOperation, connection, executeNativeUpdate, executeUpdate, flush, generateEntityKey, getCacheMode, getCacheTransactionSynchronization, getConfiguredJdbcBatchSize, getContextEntityIdentifier, getDontFlushFromFind, getEntityPersister, getEntityUsingInterceptor, getEventListenerManager, getExceptionConverter, getFactory, getFetchGraphLoadContext, getFlushMode, getHibernateFlushMode, getInterceptor, getJdbcCoordinator, getJdbcServices, getLoadQueryInfluencers, getPersistenceContext, getPersistenceContextInternal, getSessionIdentifier, getTenantIdentifier, getTimestamp, getTransactionStartTimestamp, guessEntityName, immediateLoad, initializeCollection, instantiate, internalLoad, isAutoCloseSessionEnabled, isClosed, isEventSource, isOpenOrWaitingForAutoClose, isQueryParametersValidationEnabled, isTransactionInProgress, iterate, iterateFilter, list, list, list, listCustomQuery, listFilter, markForRollbackOnly, scroll, scroll, scroll, scrollCustomQuery, setAutoClear, setCacheMode, setFetchGraphLoadContext, setFlushMode, setHibernateFlushMode, shouldAutoClose
-
从接口继承的方法 org.hibernate.resource.transaction.spi.TransactionCoordinatorBuilder.Options
shouldAutoJoinTransaction
-
从接口继承的方法 org.hibernate.type.descriptor.WrapperOptions
getJdbcTimeZone, getLobCreator, remapSqlTypeDescriptor, useStreamForLobBinding
-
-
-
-
方法详细资料
-
getActionQueue
ActionQueue getActionQueue()
Get the ActionQueue for this session- 指定者:
getActionQueue在接口中SessionImplementor
-
instantiate
Object instantiate(EntityPersister persister, Serializable id) throws HibernateException
Instantiate an entity instance, using either an interceptor, or the given persister- 指定者:
instantiate在接口中SessionImplementor- 抛出:
HibernateException
-
forceFlush
void forceFlush(EntityEntry e) throws HibernateException
Force an immediate flush- 指定者:
forceFlush在接口中SessionImplementor- 抛出:
HibernateException
-
merge
void merge(String entityName, Object object, Map copiedAlready) throws HibernateException
Cascade merge an entity instance- 指定者:
merge在接口中SessionImplementor- 抛出:
HibernateException
-
persist
void persist(String entityName, Object object, Map createdAlready) throws HibernateException
Cascade persist an entity instance- 指定者:
persist在接口中SessionImplementor- 抛出:
HibernateException
-
persistOnFlush
void persistOnFlush(String entityName, Object object, Map copiedAlready)
Cascade persist an entity instance during the flush process- 指定者:
persistOnFlush在接口中SessionImplementor
-
refresh
void refresh(String entityName, Object object, Map refreshedAlready) throws HibernateException
Cascade refresh an entity instance- 指定者:
refresh在接口中SessionImplementor- 抛出:
HibernateException
-
delete
void delete(String entityName, Object child, boolean isCascadeDeleteEnabled, Set transientEntities)
Cascade delete an entity instance- 指定者:
delete在接口中SessionImplementor
-
removeOrphanBeforeUpdates
void removeOrphanBeforeUpdates(String entityName, Object child)
A specialized type of deletion for orphan removal that must occur prior to queued inserts and updates.- 指定者:
removeOrphanBeforeUpdates在接口中SessionImplementor
-
-