posted 13 years ago
Hi,
list collection in mapping is used if the order of items is important and you have a column that stores the index number of the item.
It doesn't seem to be the case in your example. If you don't need the ordering, use a set collection and change your class to use a java.util.Set.