[OJB-developers] Bug in M-N relationships
Brought to you by:
thma
From: Matthew B. <ma...@so...> - 2002-05-13 02:26:49
|
Given the following database tables USER USER_ROLE ROLE and the objects User Role if I create a relationship in the objects by adding a user to a role, then make it persistent, everything is ok. if, after I create one relationship, create a new user and add him to the role and persist it, the relationship record in USER_ROLE that existed for the first relationship gets multiplied by 3. Then if I do it again, it gets multiplied by 3 again. This could quickly get out of control. Can anyone confirm this behaviour? |