I think the answer is the same for all of us -- don't use List, unless you have 
a really good reason. Use SortedSet. 

Then you can use @Sort(type=SortType.NATURAL) if you have Comparable 
implemented, make your own Comparator, or leave it unsorted. I'm assuming that 
like me, you only used List because you cared about the order. If using 
SortedSet typed collections, there's no need for @IndexColumn to resolve this 
error because you won't be using bags. 

I hope some of this looks familiar, and this resolves your issue as it did 
mine. Thanks, Emmanuel, for your insight. 

Cheers,


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952197#3952197

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952197


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to