Some remarks about a SortedSet one-to-many mapping:
If I do not make a mistake:
* A SortedSet requires a hibernate 3 @Sort annotation mapping:
org.hibernate.AnnotationException: A sorted collection has to define @Sort: be.sysmedit.model.itrequest.Mission.activities
* The @Sort annotation actually seems to requires a Comparator but does not handle a Comparable<> Object with SortType.NATURAL
My question is:
Are you planning to remove requirement on Hibernate's @Sort annotation and support a mapped SortedSet of Comparable<> objects? :)
Thx,
Renaud
WDYM
NATURAL means Java natural comparator
COMPARATOR means custom comparator hence with a comparator implementation.
I probably missed something from your post.