Issue Details (XML | Word | Printable)

Key: JDO-320
Type: Test Test
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Erik Bengtson
Reporter: Michael Bouschen
Votes: 0
Watchers: 0
Operations

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

Add negative query test for projecting a map and collection field to tck20

Created: 26/Feb/06 07:38 AM   Updated: 15/Mar/06 06:33 AM
Return to search
Component/s: tck2
Affects Version/s: JDO 2 rc1
Fix Version/s: JDO 2 final

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works JDO-320.patch 2006-03-03 06:23 AM Michael Bouschen 2 kB

Resolution Date: 15/Mar/06 06:33 AM


 Description  « Hide
The latest version of the JDO spec disallows JDOQL queries projecting a collection or map field, e.g.
  SELECT p.phoneNumbers FROM org.apache.jdo.tck.pc.company.Person p
  SELECT d.employees FROM org.apache.jdo.tck.pc.company.Department d
We should add a test method running the above queries which should result in a JDOException.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.