[ 
https://issues.apache.org/jira/browse/CAY-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrus Adamchik closed CAY-1213.
--------------------------------

    Fix Version/s: 3.1M1
                       (was: Undefined future)
       Resolution: Fixed

Andrei, thanks for the patches. I applied them pretty much unchanged, and 
everything works correctly. 

A note on Cayenne code conventions (since I don't have any substantial comments 
on the actual patch contents :-)) - any new public or protected API (such as 
new methods), we tag with major Cayenne version when it was added. So I added 
"@since 3.1" to a few new public methods.  

> Cayenne should support enum types in qualifier statements/expression handling
> -----------------------------------------------------------------------------
>
>                 Key: CAY-1213
>                 URL: https://issues.apache.org/jira/browse/CAY-1213
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>    Affects Versions: 3.0M5
>            Reporter: Robert Zeigler
>            Assignee: Andrus Adamchik
>             Fix For: 3.1M1
>
>         Attachments: CAY-1213-ejbql.patch, CAY-1213-in-memory.patch, 
> CAY-1213.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to