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

public Class DirtyCollectionSearchVisitor

extends AbstractVisitor
Class Inheritance
Imports
org.hibernate.HibernateException, org.hibernate.bytecode.enhance.spi.interceptor.EnhancementAsProxyLazinessInterceptor, org.hibernate.collection.spi.PersistentCollection, org.hibernate.engine.internal.ManagedTypeHelper, org.hibernate.engine.spi.PersistentAttributeInterceptable, .SessionImplementor, org.hibernate.event.spi.EventSource, org.hibernate.type.CollectionType

Do we have a dirty collection here? 1. if it is a new application-instantiated collection, return true (does not occur anymore!) 2. if it is a component, recurse 3. if it is a wrappered collection, ask the collection entry
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private boolean
private final EnhancementAsProxyLazinessInterceptor
interceptor

Deprecated as a consequence of EnhancementAsProxyLazinessInterceptor being deprecated.
private final boolean[]

Constructor Summary

AccessConstructor and Description
public
DirtyCollectionSearchVisitor(Object entity, EventSource session, boolean[] propertyVersionability)

Deprecated as a consequence of EventSource being deprecated.

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
pack-priv Object
public boolean
Inherited from org.hibernate.event.internal.AbstractVisitor:
getSessionincludePropertyprocessprocessComponentprocessEntityprocessEntityPropertyValuesprocessValueprocessValueprocessValues

Field Detail

dirtyback to summary
private boolean dirty
interceptorback to summary
private final EnhancementAsProxyLazinessInterceptor interceptor

Deprecated

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

propertyVersionabilityback to summary
private final boolean[] propertyVersionability

Constructor Detail

DirtyCollectionSearchVisitorback to summary
public DirtyCollectionSearchVisitor(Object entity, EventSource session, boolean[] propertyVersionability)

Deprecated

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

Method Detail

includeEntityPropertyback to summary
pack-priv boolean includeEntityProperty(Object[] values, int i)

Overrides org.hibernate.event.internal.AbstractVisitor.includeEntityProperty.

processCollectionback to summary
pack-priv Object processCollection(Object collection, CollectionType type) 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.

wasDirtyCollectionFoundback to summary
public boolean wasDirtyCollectionFound()