db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bouschen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-161) Implement new JDO 2 query tests cases concerning variables.
Date Thu, 27 Oct 2005 09:02:55 GMT
    [ http://issues.apache.org/jira/browse/JDO-161?page=comments#action_12356056 ] 

Michael Bouschen commented on JDO-161:
--------------------------------------

The new patch looks good. 

Just one comment: I think support for unconstrained variables is optional, so classes UnconstrainedVariable
and VariablesWithoutExtent should execute the tests only if the JDO implementation under test
supports option  javax.jdo.option.UnconstrainedQueryVariables.  Other than that the patch
is ready for checkin.


> Implement new JDO 2 query tests cases concerning variables.
> -----------------------------------------------------------
>
>          Key: JDO-161
>          URL: http://issues.apache.org/jira/browse/JDO-161
>      Project: JDO
>         Type: New Feature
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-161.patch, JDO-161.patch2
>
>  We need 4 new test classes, one for each of the following assertions: 
> - A14.6.5-1: ?? A variable that is not constrained with an explicit contains clause is
constrained by the extent of the persistence capable class (including subclasses).
> - A14.6.5-2: ?? If the class does not manage an Extent, then no results will satisfy
the query.
> - A14.6.5-3: All variables must be explicitly declared, or all variables must be implicitly
declared.
> - A14.6.5-4: Names are treated as variable names if they are explicitly declared via
declareVariables. Otherwise, names are treated as field names if they are members of the candidate
class. Finally, names are treated as implicitly defined variable names.
> Details can be found on Wiki page http://wiki.apache.org/jdo/QueryTests#Variables.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message