You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig Russell (JIRA)" <ji...@apache.org> on 2006/03/13 06:39:40 UTC
[jira] Assigned: (JDO-337) JPOX fails to use FetchPlan to load
instances returned from Query
[ http://issues.apache.org/jira/browse/JDO-337?page=all ]
Craig Russell reassigned JDO-337:
---------------------------------
Assign To: Erik Bengtson
This is the only FetchPlan issue still open.
> JPOX fails to use FetchPlan to load instances returned from Query
> -----------------------------------------------------------------
>
> Key: JDO-337
> URL: http://issues.apache.org/jira/browse/JDO-337
> Project: JDO
> Type: Bug
> Components: tck20
> Versions: JDO 2 rc1
> Environment: JPOX
> Reporter: Craig Russell
> Assignee: Erik Bengtson
> Fix For: JDO 2 final
>
> When executing a query with a non-default FetchPlan, fields should be loaded. JPOX does not use the FetchPlan when executing queries.
> [java] 1) testQuery(org.apache.jdo.tck.api.persistencemanager.fetchplan.FetchPlanQuery)junit.framework.AssertionFailedError:
> [java] Assertion 12.7.1 (FetchPlanQuery) failed: after query.execute()
> [java] Upper Left was null.
> [java] The fetch plan includes PCRect.upperLeft and this field should have been loaded.
> [java] Assertion 12.7.1 (FetchPlanQuery) failed: after query.execute()
> [java] Lower Right was null.
> [java] The fetch plan includes PCRect.lowerRight and this field should have been loaded.
> [java]
> [java] at org.apache.jdo.tck.JDO_Test.failOnError(JDO_Test.java:1035)
> [java] at org.apache.jdo.tck.api.persistencemanager.fetchplan.FetchPlanQuery.testQuery(FetchPlanQuery.java:66)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:232)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:105)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:143)
> [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:118)
--
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