Apache JDO Project - Unique deletion by query

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > November 2005 > Unique deletion by query





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Unique deletion by query
Michael Watzek

2005-11-25, 5:45 pm

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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com