Quoting Michael Bouschen <[EMAIL PROTECTED]>:

> Hi Michelle,
>
> thanks for testing.
>
> > Hi, Michael,
> >
> > The tests still don't pass because you are attempting to delete the
> > PCPoints before the PCRects.  Even though it is one transaction, you
> > have to change the order as I did below.
>
> I agree we need to change the order and delete PCRect instances first as
> you suggest. The cleanup code should succeed in any case. But maybe this
> scenario is an interesting test for the TCK delete test. I think the JDO
> implementation should reorder the SQL DELETE statements according to the
> foreign keys in the database such that the transaction succeeds no
> matter which instances the user deleted first in the JDO transaction.
>

If the fields lowerRight and upperLeft ate set as dependent in the metadata,
this will probably solve the issue.

Regards,

Erik Bengtson

Reply via email to