public class

AbstractReassociateEventListener

extends Object
implements Serializable
java.lang.Object
   ↳ org.hibernate.event.def.AbstractReassociateEventListener
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

A convenience base class for listeners that respond to requests to reassociate an entity to a session ( such as through lock() or update() ).

Summary

Public Constructors
AbstractReassociateEventListener()
Protected Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AbstractReassociateEventListener ()

Protected Methods

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.

Parameters
event The event triggering the re-association
object The entity to be associated
id The id of the entity.
persister The entity's persister instance.
Returns
  • An EntityEntry representing the entity within this session.