[
https://issues.apache.org/jira/browse/CAY-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16900064#comment-16900064
]
Nikita Timofeev commented on CAY-2597:
--------------------------------------
Hi [~hilmanshini]!
There is no way of building "case when" expression via API. All you can do is
to use {{SQLSelect}} class with hand-written SQL.
> Case when implementation for Cayenne
> ------------------------------------
>
> Key: CAY-2597
> URL: https://issues.apache.org/jira/browse/CAY-2597
> Project: Cayenne
> Issue Type: Improvement
> Components: Core Library
> Affects Versions: 4.1.B2
> Reporter: hilman
> Priority: Major
> Labels: features
> Fix For: 4.2.M1
>
>
> this ORM is great i love it, but is there any expression for "case when" in
> Cayenne? i am using version 4.1.B1
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)