类 ProxyVisitor
- java.lang.Object
-
- org.hibernate.event.internal.AbstractVisitor
-
- org.hibernate.event.internal.ProxyVisitor
-
- 直接已知子类:
ReattachVisitor,WrapVisitor
public abstract class ProxyVisitor extends AbstractVisitor
Reassociates uninitialized proxies with the session- 作者:
- Gavin King
-
-
构造器概要
构造器 构造器 说明 ProxyVisitor(EventSource session)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected static booleanisOwnerUnchanged(PersistentCollection snapshot, CollectionPersister persister, Serializable id)Has the owner of the collection changed since the collection was snapshotted and detached?protected voidreattachCollection(PersistentCollection collection, CollectionType type)Reattach a detached (disassociated) initialized or uninitialized collection wrapper, using a snapshot carried with the collection wrapper-
从类继承的方法 org.hibernate.event.internal.AbstractVisitor
process, processEntityPropertyValues
-
-
-
-
构造器详细资料
-
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
-
-