db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Jefferson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-271) SingleStringQuery has a query accessing a field in a subclass
Date Tue, 03 Jan 2006 20:02:01 GMT
    [ http://issues.apache.org/jira/browse/JDO-271?page=comments#action_12361668 ] 

Andy Jefferson commented on JDO-271:
------------------------------------

Also Grouping.testPositive has access to "salary" for Employee.
Also VariablesAndFields.testPositive has access to "team" when using a candidate class of
Person.


> 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


Mime
View raw message