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