| 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
|