Package org.hibernate.event.internal
Class WrapVisitor
java.lang.Object
org.hibernate.event.internal.AbstractVisitor
org.hibernate.event.internal.ProxyVisitor
org.hibernate.event.internal.WrapVisitor
Wrap collections in a Hibernate collection wrapper.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidprocess(Object object, EntityPersister persister) Walk the tree starting from the given entity.protected ObjectprocessCollection(Object collection, CollectionType collectionType) protected ObjectprocessComponent(Object component, CompositeType componentType) protected voidprocessValue(int i, Object[] values, Type[] types) Methods inherited from class org.hibernate.event.internal.ProxyVisitor
isOwnerUnchanged, reattachCollectionMethods inherited from class org.hibernate.event.internal.AbstractVisitor
getSession, processEntityPropertyValues
-
Field Details
-
entity
-
id
-
-
Constructor Details
-
WrapVisitor
-
-
Method Details
-
isSubstitutionRequired
public boolean isSubstitutionRequired() -
processCollection
protected Object processCollection(Object collection, CollectionType collectionType) throws HibernateException - Throws:
HibernateException
-
processValue
-
processComponent
protected Object processComponent(Object component, CompositeType componentType) throws HibernateException - Throws:
HibernateException
-
process
Description copied from class:AbstractVisitorWalk the tree starting from the given entity.- Overrides:
processin classAbstractVisitor- Throws:
HibernateException
-