db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Created: (JDO-344) Add new tests for query projection of variables where the field is mapped to one-to-many and many-to-many relationships
Date Tue, 21 Mar 2006 00:06:58 GMT
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
        Type: Test
  Components: tck20  
    Versions: JDO 2 rc1    
    Reporter: Craig Russell
    Priority: Minor


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/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message