| Michael Watzek 2005-11-30, 5:45 pm |
| Hi Craig,
I forgot to respond to your last issue below.
> Hi Michael,
>
> Test class DeleteQueryElements has INVALID_QUERIES for which the
> comments are incorrect. They should all start with "The query is
> invalid because...". I suspect that you copied some of these from other
> query tests, but there are more requirements for delete.
>
> For example, I suggest changing "The query may fail because there is a
> grouping clause, or because there is a grouping clause w/o result" to
> "The query is invalid because there is a grouping clause".
>
> I'd also suggest making two test cases from the test case"The query may
> fail because there is a result, or because there is a result class".
> These sound like different cases.
>
> I notice in QueryTest that the execute method always starts a
> transaction. Are there any tests that query outside a transaction?
All JDO2 query tests call execute methods in QueryTest, which start a
transaction.
Regards,
Michael
>
> Thanks,
>
> Craig
>
> On Nov 28, 2005, at 5:08 AM, Michael Watzek (JIRA) wrote:
>
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>
>
--
-------------------------------------------------------------------
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/
-------------------------------------------------------------------
|