Issue Details (XML | Word | Printable)

Key: JDO-435
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Craig Russell
Reporter: Craig Russell
Votes: 0
Watchers: 0
Operations

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

Query with projected variables returns duplicates and extra results that do not satisfy filter

Created: 12/Oct/06 06:23 PM   Updated: 31/May/08 09:43 PM
Return to search
Component/s: tck2
Affects Version/s: JDO 2 final
Fix Version/s: JDO 2 maintenance release 2

Time Tracking:
Not Specified

Issue Links:
Dependants
 
Reference
 

Resolution Date: 31/May/08 09:43 PM


 Description  « Hide
org.apache.jdo.tck.query.result.VariableInResult fails with several queries that return variables that are mapped to one-many and many-many relationships. In some cases, the filter is not satisfied. In others, duplicate results are returned.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #464011 Sat Oct 14 20:18:44 UTC 2006 clr JDO-435 Fixed test case VariableInResult. The expected result was incorrectly
specified as an Object[][] and should have been Collection<Object[]>.
Also fixed reporting of differences between actual and expected.
Also fixed checking Collections of results so that the cardinality
of each element in the expected result matches the cardinality
of each element in the actual result.
Files Changed
MODIFY /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/query/result/VariableInResult.java
MODIFY /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/query/QueryTest.java

Repository Revision Date User Message
ASF #617689 Fri Feb 01 22:48:12 UTC 2008 clr JDO-435 Query with projected variables returns duplicates and extra results that do not satisfy filter
The failing test methods are removed from VariableInResult which now passes.
The failing test methods are added to VariableInResultNavigation which includes several more test methods.
The failures in VariableInResultNavigation are due to one of the following bugs:
DERBY-3301
http://www.jpox.org/servlet/jira/browse/RDBMS-45
http://www.jpox.org/servlet/jira/browse/RDBMS-59
Files Changed
ADD /db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/query/result/VariableInResultNavigation.java
MODIFY /db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/query/result/VariableInResult.java
ADD /db/jdo/trunk/tck2-legacy/src/java/org/apache/jdo/tck/query/result/VariableInResultNavigation.java
MODIFY /db/jdo/trunk/tck2-legacy/src/java/org/apache/jdo/tck/query/result/VariableInResult.java

Repository Revision Date User Message
ASF #662062 Sat May 31 18:52:32 UTC 2008 clr JDO-435 Update tck to use Derby 10.4.1.3 and add new test case
Files Changed
MODIFY /db/jdo/trunk/tck2/src/conf/exclude.list
MODIFY /db/jdo/trunk/tck2-legacy/src/conf/query.conf
MODIFY /db/jdo/trunk/tck2/src/conf/query.conf
MODIFY /db/jdo/trunk/tck2-legacy/src/conf/exclude.list
MODIFY /db/jdo/trunk/tck2-legacy/project.xml