Top Methods
org.hibernate.event.spi

public Interface EventSource

extends SessionImplementor
Known Direct Implementers
org.hibernate.internal.SessionImpl
Imports
org.hibernate.HibernateException, org.hibernate.engine.spi.ActionQueue, .EntityEntry, .EntityKey, .SessionImplementor, org.hibernate.persister.entity.EntityPersister

Author
Gavin King

Method Summary

Modifier and TypeMethod and Description
public void
delete(String entityName, Object child, boolean isCascadeDeleteEnabled, DeleteContext transientEntities)

Redeclares org.hibernate.engine.spi.SessionImplementor.delete.

Cascade delete an entity instance
public void
public void
public ActionQueue
getActionQueue()

Redeclares org.hibernate.engine.spi.SessionImplementor.getActionQueue.

Get the ActionQueue for this session
public Object
instantiate(EntityPersister persister, Object id)

Redeclares org.hibernate.engine.spi.SessionImplementor.instantiate.

Instantiate an entity instance, using either an interceptor, or the given persister
public void
merge(String entityName, Object object, MergeContext copiedAlready)

Redeclares org.hibernate.engine.spi.SessionImplementor.merge.

Cascade merge an entity instance
public void
persist(String entityName, Object object, PersistContext createdAlready)

Redeclares org.hibernate.engine.spi.SessionImplementor.persist.

Cascade persist an entity instance
public void
persistOnFlush(String entityName, Object object, PersistContext copiedAlready)

Redeclares org.hibernate.engine.spi.SessionImplementor.persistOnFlush.

Cascade persist an entity instance during the flush process
public void
refresh(String entityName, Object object, RefreshContext refreshedAlready)

Redeclares org.hibernate.engine.spi.SessionImplementor.refresh.

Cascade refresh an entity instance
public void
removeOrphanBeforeUpdates(String entityName, Object child)

Redeclares org.hibernate.engine.spi.SessionImplementor.removeOrphanBeforeUpdates.

A specialized type of deletion for orphan removal that must occur prior to queued inserts and updates.
Inherited from org.hibernate.engine.spi.SessionImplementor:
asSessionImplementorcreateEntityGraphcreateEntityGraphgetEntityGraphgetSessiongetSessionFactoryisSessionImplementorlock

Method Detail

deleteback to summary
public void delete(String entityName, Object child, boolean isCascadeDeleteEnabled, DeleteContext transientEntities)

Redeclares org.hibernate.engine.spi.SessionImplementor.delete.

Cascade delete an entity instance

forceFlushback to summary
public void forceFlush(EntityEntry e) throws HibernateException

Redeclares org.hibernate.engine.spi.SessionImplementor.forceFlush.

Force an immediate flush

forceFlushback to summary
public void forceFlush(EntityKey e) throws HibernateException

Redeclares org.hibernate.engine.spi.SessionImplementor.forceFlush.

Force an immediate flush

getActionQueueback to summary
public ActionQueue getActionQueue()

Redeclares org.hibernate.engine.spi.SessionImplementor.getActionQueue.

Get the ActionQueue for this session

instantiateback to summary
public Object instantiate(EntityPersister persister, Object id) throws HibernateException

Redeclares org.hibernate.engine.spi.SessionImplementor.instantiate.

Instantiate an entity instance, using either an interceptor, or the given persister

mergeback to summary
public void merge(String entityName, Object object, MergeContext copiedAlready) throws HibernateException

Redeclares org.hibernate.engine.spi.SessionImplementor.merge.

Cascade merge an entity instance

persistback to summary
public void persist(String entityName, Object object, PersistContext createdAlready) throws HibernateException

Redeclares org.hibernate.engine.spi.SessionImplementor.persist.

Cascade persist an entity instance

persistOnFlushback to summary
public void persistOnFlush(String entityName, Object object, PersistContext copiedAlready)

Redeclares org.hibernate.engine.spi.SessionImplementor.persistOnFlush.

Cascade persist an entity instance during the flush process

refreshback to summary
public void refresh(String entityName, Object object, RefreshContext refreshedAlready) throws HibernateException

Redeclares org.hibernate.engine.spi.SessionImplementor.refresh.

Cascade refresh an entity instance

removeOrphanBeforeUpdatesback to summary
public void removeOrphanBeforeUpdates(String entityName, Object child)

Redeclares org.hibernate.engine.spi.SessionImplementor.removeOrphanBeforeUpdates.

A specialized type of deletion for orphan removal that must occur prior to queued inserts and updates.