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

Nikita Timofeev commented on CAY-2736:
--------------------------------------

*4.2*: 
https://github.com/apache/cayenne/commit/b8046c88c92f5a7617403c292efa8e177ddcafa6

> Can't use function names as a path in a string-based expression
> ---------------------------------------------------------------
>
>                 Key: CAY-2736
>                 URL: https://issues.apache.org/jira/browse/CAY-2736
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 4.1.1, 4.2.B1
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Minor
>             Fix For: 4.2.B2
>
>
> Path like {{db:year}} causes expression parser to fail even if this is a 
> normal DB attribute name.
> There's no workaround for this, if you need to parse expression from string.
> Fix would be to allow such names for explicit path syntax (i.e. for {{obj:}}, 
> {{db:}}, {{dbid:}} and {{enum:}}). If needed this could be added to the 
> simple object path as well at the cost of some performance degradation.
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to