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 TypeMethodDescriptionboolean
void
process
(Object object, EntityPersister persister) Walk the tree starting from the given entity.protected Object
processCollection
(Object collection, CollectionType collectionType) protected Object
processComponent
(Object component, CompositeType componentType) protected void
processValue
(int i, Object[] values, Type[] types) Methods inherited from class org.hibernate.event.internal.ProxyVisitor
isOwnerUnchanged, reattachCollection
Methods 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:AbstractVisitor
Walk the tree starting from the given entity.- Overrides:
process
in classAbstractVisitor
- Throws:
HibernateException
-