public abstract class

ProxyVisitor

extends AbstractVisitor
java.lang.Object
   ↳ org.hibernate.event.def.AbstractVisitor
     ↳ org.hibernate.event.def.ProxyVisitor
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Reassociates uninitialized proxies with the session

Summary

Public Constructors
ProxyVisitor(EventSource session)
Protected Methods
static boolean isOwnerUnchanged(PersistentCollection snapshot, CollectionPersister persister, Serializable id)
Has the owner of the collection changed since the collection was snapshotted and detached?
void reattachCollection(PersistentCollection collection, CollectionType type)
Reattach a detached (disassociated) initialized or uninitialized collection wrapper, using a snapshot carried with the collection wrapper
[Expand]
Inherited Methods
From class org.hibernate.event.def.AbstractVisitor
From class java.lang.Object

Public Constructors

public ProxyVisitor (EventSource session)

Protected Methods

protected static boolean isOwnerUnchanged (PersistentCollection snapshot, CollectionPersister persister, Serializable id)

Has the owner of the collection changed since the collection was snapshotted and detached?

protected void reattachCollection (PersistentCollection collection, CollectionType type)

Reattach a detached (disassociated) initialized or uninitialized collection wrapper, using a snapshot carried with the collection wrapper