Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-321

JPOX throws exception for query with public static final field used without qualifying class name prefix

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • JDO 2 rc1
    • JDO 2 final (2.0)
    • tck
    • None

    Description

      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

      Attachments

        1. JDO-321.patch
          3 kB
          Michael Bouschen

        Activity

          People

            ebengtso Erik Bengtson
            mbo Michael Bouschen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: