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

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > January 2006 > [jira] Resolved: (JDO-271) SingleStringQuery has a query accessing a field in a subcla





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Resolved: (JDO-271) SingleStringQuery has a query accessing a field in a subcla
Craig Russell (JIRA)

2006-01-03, 8:45 pm

[ 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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com