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/01/04 01:01:01 UTC

[jira] Resolved: (JDO-271) SingleStringQuery has a query accessing a field in a subclass

     [ http://issues.apache.org/jira/browse/JDO-271?page=all ]
     
Craig Russell resolved JDO-271:
-------------------------------

    Resolution: Fixed

Committed revision 365775.

This fixes the VariablesAndFields and Grouping tests.

> SingleStringQuery has a query accessing a field in a subclass
> -------------------------------------------------------------
>
>          Key: JDO-271
>          URL: http://issues.apache.org/jira/browse/JDO-271
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Andy Jefferson
>     Assignee: Michael Bouschen

>
> Bug JDO-270 was raised against JPOX for not detecting accesses to fields in subclasses, saying that it should raise an exception when it encounters such things. In which case can we please have the test SingleStringQuery fixed since it tries to access "salary" when using a candidate class of Person, which has no such "salary" (which is on FullTimeEmployee), or "projects" for that matter. Maybe change the candidate to FullTimeEmployee ?

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