db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Bengtson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-321) JPOX throws exception for query with public static final field used without qualifying class name prefix
Date Wed, 15 Mar 2006 00:41:42 GMT
    [ http://issues.apache.org/jira/browse/JDO-321?page=comments#action_12370437 ] 

Erik Bengtson commented on JDO-321:
-----------------------------------

fixed in JPOX CVS

> JPOX throws exception for query with public static final field used without qualifying
class name prefix
> --------------------------------------------------------------------------------------------------------
>
>          Key: JDO-321
>          URL: http://issues.apache.org/jira/browse/JDO-321
>      Project: JDO
>         Type: Test
>   Components: tck20
>     Versions: JDO 2 rc1
>     Reporter: Michael Bouschen
>     Assignee: Erik Bengtson
>     Priority: Minor
>      Fix For: JDO 2 final
>  Attachments: JDO-321.patch
>
> I propose to add new test queries to query test class query.jdoql.IdentifiersEqualFieldNames
accessing a public static final field declared in a company model class, e.g add the following
constant to class Department:
>   public static final int RECOMMENDED_NO_OF_EMPS = 2
> This query works if the class name is used to qualify the static field name, e.g. Department.RECOMMENDED_NO_OF_EMPS

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