db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bouschen (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JDO-650) Support for conditional operator ? : in JDOQL
Date Fri, 03 Feb 2012 19:05:53 GMT

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

Michael Bouschen updated JDO-650:
---------------------------------

    Fix Version/s:     (was: JDO 3 maintenance release 1 (3.1))
                   JDO 3 maintenance release 2 (3.2)

Move the issue to JDO 3.2
                
> Support for conditional operator ? : in JDOQL
> ---------------------------------------------
>
>                 Key: JDO-650
>                 URL: https://issues.apache.org/jira/browse/JDO-650
>             Project: JDO
>          Issue Type: New Feature
>          Components: specification, tck
>    Affects Versions: JDO 2 maintenance release 2 (2.2)
>            Reporter: Michael Bouschen
>            Assignee: Michael Bouschen
>             Fix For: JDO 3 maintenance release 2 (3.2)
>
>
> JDOQL should support the Java conditional operator ? :, e.g. salay >= 1000.0 ? salary
: salary * 1.1
> The conditional operator can be mapped to the CASE-expression in SQL: CASE WHEN condition
THEN thenExpr ELSE elseExpr END. Are there any issues with non-SQL datastores when supporting
the conditional operator? 
> Another question: which part of a JDOQL query can include a conditional expression? I
propose the query filter, the having clause and the result specification.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message