Apache JDO Project - [jira] Resolved: (JDO-344) Add new tests for query projection of

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > October 2006 > [jira] Resolved: (JDO-344) Add new tests for query projection of





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Resolved: (JDO-344) Add new tests for query projection of
Craig Russell (JIRA)

2006-10-12, 7:11 pm

[ http://issues.apache.org/jira/browse/JDO-344?page=all ]

Craig Russell resolved JDO-344.
-------------------------------

Fix Version/s: JDO 2 maintenance release 1
Resolution: Fixed
Assignee: Craig Russell

svn commit src/java/org/apache/jdo/tck/query/result/
Sending src/java/org/apache/jdo/tck/query/result/VariableInResult.java
Transmitting file data .
Committed revision 463364.


> Add new tests for query projection of variables where the field is mapped to one-to-many and many-to-many relationships
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: JDO-344
> URL: http://issues.apache.org/jira/browse/JDO-344
> Project: JDO
> Issue Type: Test
> Components: tck20
> Affects Versions: JDO 2 rc1
> Reporter: Craig Russell
> Assigned To: Craig Russell
> Priority: Minor
> Fix For: JDO 2 maintenance release 1
>
>
> We encountered a bug in Derby with JDO-310 where the variable field was mapped to many-to-many relationships. We should add new tests for the next release cycle to test:
> SELECT e FROM Department WHERE deptid==2 & employees.contains(e) VARIABLES Employee e
> SELECT distinct e FROM Department WHERE deptid==2 & employees.contains(e) VARIABLES Employee e
> SELECT p FROM Employee WHERE projects.contains(p) & p.name == 'orange' VARIABLES Project p
> SELECT distinct p FROM Employee WHERE projects.contains(p) & p.name == 'orange' VARIABLES Project p


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



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com