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] Resolved: (JDO-165) Implement new JDO 2 query tests cases concerning SQL queries.
Date Thu, 24 Nov 2005 08:43:56 GMT
     [ http://issues.apache.org/jira/browse/JDO-165?page=all ]
Michael Watzek resolved JDO-165:

    Resolution: Fixed

The second patch has been checked in (Revision 348505).

> Implement new JDO 2 query tests cases concerning SQL queries.
> -------------------------------------------------------------
>          Key: JDO-165
>          URL: http://issues.apache.org/jira/browse/JDO-165
>      Project: JDO
>         Type: New Feature
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-165.patch, JDO-165.patch2
> We need 4 new test classes, one for each of the following assertions: 
> - A14.7-1: In this case, the factory method that takes the language string and Object
is used: newQuery (String language, Object query). The language parameter is javax.jdo.query.SQL
and the query parameter is the SQL query string.
> - A14.7-2: The only methods that can be used are setClass to establish the candidate
class, setUnique to declare that there is only one result row, and setResultClass to establish
the result class.
> - A14.7-3: SQL queries can be defined without a candidate class. These queries can be
found by name using the factory method newNamedQuery, specifying the class as null, or can
be constructed without a candidate class.
> - A14.7-4: Table 7: Shape of Result of SQL Query.
> Details can be found on Wiki page http://wiki.apache.org/jdo/QueryTests#SQLQueries.

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