Cayenne
  1. Cayenne
  2. CAY-1213

Cayenne should support enum types in qualifier statements/expression handling

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0M5
    • Fix Version/s: 3.1M1
    • Component/s: Core Library
    • Labels:
      None

      Description

      Currently, cayenne doesn't support java enums in its expression syntax and, by extension, in qualifier statements. This makes it impossible to use an enum type as a class descriminator for inheritance.

      Enum expressions would look like:

      propertyName = some.package.Type.CONSTANT

      to make it consistent with JPA.

      1. CAY-1213.patch
        17 kB
        Andrei Veprev
      2. CAY-1213-ejbql.patch
        19 kB
        Andrei Veprev
      3. CAY-1213-in-memory.patch
        3 kB
        Andrei Veprev

        Activity

          People

          • Assignee:
            Andrus Adamchik
            Reporter:
            Robert Zeigler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development