non duplicated list
Posted: Mon Mar 04, 2013 11:25 pm
Hello,
I have customer and customer type entity class. I used ManyToMany bi direction relationship. When I add new customer, I can add duplicated customer type. I don't want duplicated customer type in customer. Customer types are not duplicated for one customer.
I would like to know how can I do.
Thanks.
I have customer and customer type entity class. I used ManyToMany bi direction relationship. When I add new customer, I can add duplicated customer type. I don't want duplicated customer type in customer. Customer types are not duplicated for one customer.
I would like to know how can I do.
Thanks.