类 AbstractReassociateEventListener
- java.lang.Object
-
- org.hibernate.event.internal.AbstractReassociateEventListener
-
- 所有已实现的接口:
Serializable
public abstract class AbstractReassociateEventListener extends Object implements Serializable
A convenience base class for listeners that respond to requests to reassociate an entity to a session ( such as through lock() or update() ).- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 AbstractReassociateEventListener()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected EntityEntryreassociate(AbstractEvent event, Object object, Serializable id, EntityPersister persister)Associates a given entity (either transient or associated with another session) to the given session.
-
-
-
方法详细资料
-
reassociate
protected final EntityEntry reassociate(AbstractEvent event, Object object, Serializable id, EntityPersister persister)
Associates a given entity (either transient or associated with another session) to the given session.- 参数:
event- The event triggering the re-associationobject- The entity to be associatedid- The id of the entity.persister- The entity's persister instance.- 返回:
- An EntityEntry representing the entity within this session.
-
-