db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Watzek <mwa.t...@spree.de>
Subject Unique deletion by query
Date Fri, 25 Nov 2005 14:07:54 GMT
Hi,

I have a question concerning unique deletion by query:

Assuming a unique JDO query would throw a JDOUserException in execute() 
because the result is not unique, would you expect a JDOUserException 
thrown in deletePersistentAll()?

The spec does not require this and I'm not sure if we should add a 
negative test case checking this.

Regards,
Michael
-- 
-------------------------------------------------------------------
Michael Watzek                  Tech@Spree Engineering GmbH
mailto:mwa.tech@spree.de        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/
-------------------------------------------------------------------

Mime
View raw message