db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@jpox.org
Subject Re: pmf not closed
Date Tue, 03 May 2005 22:09:29 GMT
Quoting Michael Bouschen <mbo.tech@spree.de>:

> 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.


Erik Bengtson

View raw message