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

Tilmann Zäschke updated JDO-751:
--------------------------------
    Comment: was deleted

(was: @Craig
Sorry, I think overlooked your post.
You raised an excellent point about JDOQL that return {{false}} if one in 
{{person.address.postcode}} is {{null}}. 

So this would for example answer point e) (we disallow Optional<Optional<>>), 
and c) (return {{false}}).
I think it leaves points a) metadata (Renato's point), and  b)/d) about 
comparison to {{null}}/{{empty}}. Disallowing comparison to {{null}} could have 
quite some impact I suppose...
)

> 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