This content has been marked as final.
Show 2 replies
-
1. Re: problem with unique index in Many-To-Many in EJB 3.0
jwynett Aug 5, 2005 10:43 AM (in response to epbernard)It looks like I got this to work by changing the Collection to Set. Now it appears to put in the unique constraints.
Is this the correct way to do this or should the unique constraint annotation in my previous example work too?
jon -
2. Re: problem with unique index in Many-To-Many in EJB 3.0
epbernard Aug 5, 2005 12:35 PM (in response to epbernard)The Set contract is more appropriate in your case, but I guess your original code should work so report the issue.