org.hibernate.event.def
Class ProxyVisitor
java.lang.Object
org.hibernate.event.def.AbstractVisitor
org.hibernate.event.def.ProxyVisitor
- Direct Known Subclasses:
- ReattachVisitor, WrapVisitor
public abstract class ProxyVisitor
- extends AbstractVisitor
Reassociates uninitialized proxies with the session
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyVisitor
public ProxyVisitor(EventSource session)
isOwnerUnchanged
protected static boolean isOwnerUnchanged(PersistentCollection snapshot,
CollectionPersister persister,
Serializable id)
- Has the owner of the collection changed since the collection
was snapshotted and detached?
reattachCollection
protected void reattachCollection(PersistentCollection collection,
CollectionType type)
throws HibernateException
- Reattach a detached (disassociated) initialized or uninitialized
collection wrapper, using a snapshot carried with the collection
wrapper
- Throws:
HibernateException
Copyright © null-null Red Hat Middleware, LLC. All Rights Reserved