db-jdo-dev mailing list archives

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

Craig Russell commented on JDO-271:
-----------------------------------

Committed revision 365748.

This fixes SingleStringQuery. Other tests have not been changed.

> 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