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/03/20 23:14:58 UTC

[jira] Resolved: (JDO-321) JPOX throws exception for query with public static final field used without qualifying class name prefix

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

    Resolution: Fixed

This is fixed with the latest JPOX SNAPSHOT.

> 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