public abstract class AbstractReassociateEventListener extends Object implements Serializable
Constructor and Description |
---|
AbstractReassociateEventListener() |
Modifier and Type | Method and Description |
---|---|
protected 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.
|
protected final EntityEntry reassociate(AbstractEvent event, Object object, Serializable id, EntityPersister persister)
event
- The event triggering the re-associationobject
- The entity to be associatedid
- The id of the entity.persister
- The entity's persister instance.Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.