类 AbstractReassociateEventListener

    • 构造器详细资料

      • AbstractReassociateEventListener

        public AbstractReassociateEventListener()
    • 方法详细资料

      • 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-association
        object - The entity to be associated
        id - The id of the entity.
        persister - The entity's persister instance.
        返回:
        An EntityEntry representing the entity within this session.