]
Hardy Ferentschik updated HV-83:
--------------------------------
Fix Version/s: 4.0.0.Alpha2
Object graph traversed too many times
-------------------------------------
Key: HV-83
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-83
Project: Hibernate Validator
Issue Type: Bug
Components: engine
Reporter: Emmanuel Bernard
Assignee: Hardy Ferentschik
Fix For: 4.0.0.Alpha2
You seem to traverse the object graph once per group.
I made the spec so that multiple traversals were not necessary unless you physically
force group sequence.
Actually the prototype I gave you was doing some clever things to minimize the number of
AFAIR I made the spec so that this multiple traversals are not needed unless you
physically sequenciate them. In a prototype I had, I actually worked on an algorithm to
validate as much groups as possible in a same traversal. Unfortunately I lost it, probably
in my hardware crash :(
The idea was to compute a tree of groups to validate with their respective sequential
constraints and run as less cycle as possible at a given time
e=|- a - b (b seq after a)
f=|- c - d (d seq after c)
validating e, f would run a and c in // in the same cycle and b and d in the second
cycle.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: