You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2019/08/05 13:01:00 UTC

[jira] [Commented] (CAY-2597) Case when implementation for Cayenne

    [ 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)