Class DirtyCollectionSearchVisitor

  • public class DirtyCollectionSearchVisitor
    extends AbstractVisitor
    Do we have a dirty collection here?
    1. If it's a new application-instantiated collection, return true. (Does not occur anymore!)
    2. If it's an embeddable, recurse.
    3. If it is a wrappered collection, ask the collection entry.
    • Constructor Detail

      • DirtyCollectionSearchVisitor

        public DirtyCollectionSearchVisitor​(Object entity,
                                            EventSource session,
                                            boolean[] propertyVersionability)
    • Method Detail

      • wasDirtyCollectionFound

        public boolean wasDirtyCollectionFound()