Hi,

I'm thinking a better way of cleaning up might be:

Extent toBeDeleted = pm.getExtent(parameterClass, false);
Query toBeDelete = pm.newQuery(parameterClass, toBeDeleted);
toBeDelete.deletePersistentAll();

This doesn't require that the query be executed except for the purposes of calling the jdoPreDelete callback, which is not an issue in the TCK.

Does JPOX support this? Would it help (I'm thinking of the issue with CompletenessTest not cleaning up because of issues with loading the instances).

Craig

Craig Russell

Architect, Sun Java Enterprise System http://java.sun.com/products/jdo

408 276-5638 mailto:[EMAIL PROTECTED]

P.S. A good JDO? O, Gasp!


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to