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

public Class DirtyCollectionSearchVisitor

extends AbstractVisitor
Class Inheritance
Imports
org.hibernate.HibernateException, org.hibernate.collection.PersistentCollection, org.hibernate.engine.SessionImplementor, org.hibernate.event.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 boolean[]

Constructor Summary

AccessConstructor and Description
pack-priv
DirtyCollectionSearchVisitor(EventSource session, boolean[] propertyVersionability)

Method Summary

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

Field Detail

dirtyback to summary
private boolean dirty
propertyVersionabilityback to summary
private boolean[] propertyVersionability

Constructor Detail

DirtyCollectionSearchVisitorback to summary
pack-priv DirtyCollectionSearchVisitor(EventSource session, boolean[] propertyVersionability)

Method Detail

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

Overrides org.hibernate.event.def.AbstractVisitor.includeEntityProperty.

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

wasDirtyCollectionFoundback to summary
pack-priv boolean wasDirtyCollectionFound()