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

Tilmann Zäschke commented on JDO-751:
-------------------------------------

The argument or supporting {{orElse()}} would be that these are probably the 3 
basic {{Optional}} operations and that it would complement JDOQL's other 
conditional statement:{{if}}  (I though there was {{x==y?a:b}} as well, but I 
can't find it now). But we should only add features that will actually be used, 
do we have any information how much that is used?


> Support for Java8 Optional
> --------------------------
>
>                 Key: JDO-751
>                 URL: https://issues.apache.org/jira/browse/JDO-751
>             Project: JDO
>          Issue Type: New Feature
>          Components: specification, tck
>            Reporter: Andy Jefferson
>
> java.util.Optional provides a feature that is available in other languages. 
> Since JDO 3.2 will be for Java8+ then it makes sense to add support for this 
> as a "supported persistable type"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to