Issue Details (XML | Word | Printable)

Key: JDO-165
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Michael Watzek
Reporter: Michael Watzek
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

Implement new JDO 2 query tests cases concerning SQL queries.

Created: 04/Oct/05 09:43 PM   Updated: 24/Nov/05 05:43 PM
Return to search "STDCXX EDG eccp issues"
Component/s: tck2
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works JDO-165.patch 2005-11-21 10:28 PM Michael Watzek 30 kB
File Licensed for inclusion in ASF works JDO-165.patch2 2005-11-24 02:42 AM Michael Watzek 31 kB

Resolution Date: 24/Nov/05 05:43 PM


 Description  « Hide
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.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Michael Watzek made changes - 21/Nov/05 10:28 PM
Field Original Value New Value
Attachment JDO-165.patch [ 12320830 ]
Michael Watzek made changes - 24/Nov/05 02:42 AM
Attachment JDO-165.patch2 [ 12320910 ]
Michael Watzek made changes - 24/Nov/05 05:43 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]