db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Watzek (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JDO-168) XML query testdata needs to be extended for new JDO 2 query tests
Date Wed, 05 Oct 2005 13:50:49 GMT
     [ http://issues.apache.org/jira/browse/JDO-168?page=all ]

Michael Watzek updated JDO-168:

    Attachment: JDO-168.patch

The patch fixes the issues above.

Applying this patch, JPOX returns two more failures with alltests.conf for both, application
identity and datastore identity. The test cases NavigationThroughANullValuedField and NavigationThroughReferencesUsesDotOperator
fail due to unexpected query results. JPOX generates an incomplete SQL statement for the query
missing a discriminator comparison for a relationship navigation. For this reason, the query
returns more results than expected. I'll file a separate issue.

> XML query testdata needs to be extended for new JDO 2 query tests
> -----------------------------------------------------------------
>          Key: JDO-168
>          URL: http://issues.apache.org/jira/browse/JDO-168
>      Project: JDO
>         Type: Improvement
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-168.patch
> The new JDO 2 query test cases require more complex testdata than contained in 'companyForQueryTests.xml'.
I propose to copy the content of 'companyAllRelationships.xml' into 'companyForQueryTests.xml'.
> Due to this change some existing query tests must be adapted wrt the expected query result:
> - test\java\org\apache\jdo\tck\query\jdoql\methods\SupportedCollectionMethods.java
> - test\java\org\apache\jdo\tck\query\jdoql\NavigationThroughReferencesUsesDotOperator.java
> - test\java\org\apache\jdo\tck\query\jdoql\Cast.java
> - test\java\org\apache\jdo\tck\query\jdoql\DenoteUniquenessInFilter.java
> - test\java\org\apache\jdo\tck\query\jdoql\NullCollectionsAndContainsMethod.java
> - test\java\org\apache\jdo\tck\query\jdoql\operators\EqualityAndComparisonsBetweenDateFieldsAndParameters.java
> - test\java\org\apache\jdo\tck\query\jdoql\operators\EqualityAndComparisonsBetweenStringFieldsAndParameters.java

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message