So if I load an Event the collection is populated, but how could I get it sorted for instance. If I change it to SortedSet, would that work? Is there anything in the annotation to set an order by when retrieving?Code:public class Event { @RelatedToVia(type = ITEMS_NEEDED_FOR_EVENT) @Fetch private Set<ItemNeededForEvent> itemsNeededForEvent; @RelatedTo(type = ItemUserIsBringingToEvent.EVENT_FOR_ITEM_BROUGHT, direction = Direction.INCOMING) private Set<ItemUserIsBringingToEvent> itemsBringingToEvent; }
Thanks
Mark


Reply With Quote
