cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAY-1213) Cayenne should support enum types in qualifier statements/expression handling
Date Fri, 17 Sep 2010 10:05:34 GMT

    [ https://issues.apache.org/jira/browse/CAY-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910521#action_12910521
] 

Andrus Adamchik commented on CAY-1213:
--------------------------------------

Andrei, before I look closer at the patch, a few high level observations:

* would be nice to collapse multiple git revisions into one in a patch. (not that I can't
do it myself on my end :-))
* In the test cases, let's rename entity User to something less common that can't potentially
be a DB keyword, etc. 

> 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: Undefined future
>
>         Attachments: 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.


Mime
View raw message