Don't get all property values when visiting collections

Description

Please eliminate wasted motion in the collection visitor classes; specifically, don't get the values of properties that can't contain collections. CollectionVisitor.patch [attached] is a rough implementation that works. Perhaps it might be improved to use persister.optimizer.getPropertyValues if persister has an optimizer.

Environment

JBoss, Windows XP, Microsoft SQL Server

Assignee

GavinG

Reporter

John Kristian

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Affects versions

Priority

Minor
Configure