Hi Barabara,

could you please send me some test code (or pseudo code) so that I can add a new test to test-suite. In test-suite is a test called
.../odmg/M2NTest using Movie and Actor with an m:n relation. Is it possible to reproduce your problem in this test case?


regards,
Armin


Barbara Levienaise-Obadia wrote:
Hi,

I am using the ODMG API of OJB rc7 - I have an m:n non-decomposed mapping defined between
two classes - say A and B. So an object A has a
collection of B's and vice-versa.
I have performed the following steps:
* I create two objects A, A1 and A2, that are stored
to the database - the database seems appropriately
updated
* then I add an object B to A1's collection of B's,
and the same object B to A2's collection of B's - the
database seems appropriately updated
* then I delete A2 - if I check the table associated
with A, A2 does not show up as expected and if I check
the intermediary table, the relation is also deleted
as expected.
* now I delete A1 - if I check the table associated
with A, A1 does not show up *BUT* A2 is back!! Also,
in the intermediary table the relation for A1 is gone,
but again, the relation for A2 is back.


I hope this is clear enough and that someone can shed
some light on this.

Thanks,
Barbara

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to