Top Description Fields Constructors Methods
org.hibernate.event.def

public Class WrapVisitor

extends ProxyVisitor
Class Inheritance
Imports
org.slf4j.Logger, .LoggerFactory, org.hibernate.EntityMode, .HibernateException, org.hibernate.collection.PersistentCollection, org.hibernate.engine.PersistenceContext, .SessionImplementor, org.hibernate.event.EventSource, org.hibernate.persister.collection.CollectionPersister, org.hibernate.persister.entity.EntityPersister, org.hibernate.type.CollectionType, .CompositeType, .Type

Wrap collections in a Hibernate collection wrapper.
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private static final Logger
pack-priv boolean

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
pack-priv void
process(Object object, EntityPersister persister)

Overrides org.hibernate.event.def.AbstractVisitor.process.

Walk the tree starting from the given entity.
pack-priv final Object
pack-priv Object
pack-priv Object
pack-priv void
Inherited from org.hibernate.event.def.ProxyVisitor:
isOwnerUnchangedprocessEntityreattachCollection

Field Detail

logback to summary
private static final Logger log
substituteback to summary
pack-priv boolean substitute

Constructor Detail

WrapVisitorback to summary
pack-priv WrapVisitor(EventSource session)

Method Detail

isSubstitutionRequiredback to summary
pack-priv boolean isSubstitutionRequired()
processback to summary
pack-priv void process(Object object, EntityPersister persister) throws HibernateException

Overrides org.hibernate.event.def.AbstractVisitor.process.

Doc from org.hibernate.event.def.AbstractVisitor.process.

Walk the tree starting from the given entity.

processArrayOrNewCollectionback to summary
pack-priv final Object processArrayOrNewCollection(Object collection, CollectionType collectionType) throws HibernateException
processCollectionback to summary
pack-priv Object processCollection(Object collection, CollectionType collectionType) throws HibernateException

Overrides org.hibernate.event.def.AbstractVisitor.processCollection.

Doc from org.hibernate.event.def.AbstractVisitor.processCollection.

Visit a collection. Default superclass implementation is a no-op.

processComponentback to summary
pack-priv Object processComponent(Object component, CompositeType componentType) throws HibernateException

Overrides org.hibernate.event.def.AbstractVisitor.processComponent.

Doc from org.hibernate.event.def.AbstractVisitor.processComponent.

Visit a component. Dispatch each property to processValue().

processValueback to summary
pack-priv void processValue(int i, Object[] values, Type[] types)

Overrides org.hibernate.event.def.AbstractVisitor.processValue.