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

public Class WrapVisitor

extends ProxyVisitor
Class Inheritance
Annotations
@SuppressWarnings:WeakerAccess
Imports
java.io.Serializable, org.hibernate.EntityMode, .HibernateException, org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer, org.hibernate.bytecode.enhance.spi.interceptor.EnhancementAsProxyLazinessInterceptor, org.hibernate.collection.spi.PersistentCollection, org.hibernate.engine.internal.ManagedTypeHelper, org.hibernate.engine.spi.PersistenceContext, .PersistentAttributeInterceptable, .SessionImplementor, org.hibernate.event.spi.EventSource, org.hibernate.internal.CoreLogging, .CoreMessageLogger, 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
protected Object
protected Serializable
private static final CoreMessageLogger
private boolean

Constructor Summary

AccessConstructor and Description
public
WrapVisitor(Object entity, Serializable id, EventSource session)

Deprecated as a consequence of EventSource being deprecated.
public
WrapVisitor(EventSource session)

Deprecated as a consequence of EventSource being deprecated.

Method Summary

Modifier and TypeMethod and Description
public boolean
public void
process(Object object, EntityPersister persister)

Overrides org.hibernate.event.internal.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.internal.ProxyVisitor:
isOwnerUnchangedprocessEntityreattachCollection

Field Detail

entityback to summary
protected Object entity
idback to summary
protected Serializable id
LOGback to summary
private static final CoreMessageLogger LOG
substituteback to summary
private boolean substitute

Constructor Detail

WrapVisitorback to summary
public WrapVisitor(Object entity, Serializable id, EventSource session)

Deprecated

as a consequence of EventSource being deprecated. See corresponding docs for further information.

WrapVisitorback to summary
public WrapVisitor(EventSource session)

Deprecated

as a consequence of EventSource being deprecated. See corresponding docs for further information.

Method Detail

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

Overrides org.hibernate.event.internal.AbstractVisitor.process.

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

Walk the tree starting from the given entity.

Annotations
@Override
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.internal.AbstractVisitor.processCollection.

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

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

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

Overrides org.hibernate.event.internal.AbstractVisitor.processComponent.

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

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

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

Overrides org.hibernate.event.internal.AbstractVisitor.processValue.

Annotations
@Override