I have a many to many relationship at my Java beans. When I use List to define my variables as like:
List
@Entity @Table(name=\"ScD\") public class G
How about the uniqueness requirement from Set? Doesn't this force Hibernate to retrieve all objects each time one is added to the collection to make sure a newly added one is unique? A List wouldn't have this limitation.