[ https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15145293#comment-15145293 ]
Renato Garcia commented on JDO-751: ----------------------------------- {quote}Fun question (not a likely use-case): How do we treat Optional<Optional<Department>> where department is null? Should JDOQL do double-auto-dereferencing?{quote} Would it be a valid mapping to start with? Is {{List<List<Departament>>}} valid? > 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)