Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1213

Cayenne should support enum types in qualifier statements/expression handling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0M5
    • 3.1M1
    • Core Library
    • 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.

      Attachments

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

        Activity

          People

            andrus Andrus Adamchik
            ongakugainochi Robert Zeigler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: