[
http://opensource.atlassian.com/projects/hibernate/browse/HV-303?page=com...
]
Emmanuel Bernard resolved HV-303.
---------------------------------
Resolution: Won't Fix
I am against that, it's not an index, it's some kind of order. A different
notion.
in propertyPath don't get index for Sets and SortedSets
-------------------------------------------------------
Key: HV-303
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-303
Project: Hibernate Validator
Issue Type: Bug
Components: engine
Affects Versions: 4.0.2.GA
Reporter: wof
Assignee: Hardy Ferentschik
The method isIndexable in ValidatorImpl don't support SortedSets or Sets. While there
is no no particular order for an Iterater of a Set, most common implementations iterate at
least for two calls in the same way. So it is arguable if Sets should be supported.
SortedSets on the other hand guarantee always a particular order and have to be
supported.
So there are possible solutions:
- check for SortedSets and allow them
- check for Set and hope that without change in this Set, the order will be the same as
the last time (at least I know no other implementation)
- check for Iterable and hope the same. ;-)
cheers
wof
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira