Hibernate Command Object with Set Field
I am using a Hibernate code generated bean as a command object in my Spring MVC web application. The command has a field which is of type java.util.Set which needs to be represented in the form. This seems difficult, however, because a Set cannot be represented as an indexed property since it is not indexable (doesn't implement java.util.List). I do not want to convert this field to a List because in Hibernate this would require an additional index column on the child table even though we don't care about ordering.
Is there a way to represent a java.util.Set field in a form?