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

Thomas Andraschko edited comment on DELTASPIKE-1328 at 3/21/18 3:07 PM:
------------------------------------------------------------------------

Also check DELTASPIKE-1315
 i'm not sure if we need any additional thing for the Optional class, we 
already support it.
 A optional findBy should just return null instead of a optional class IMO.

Streams are different of course.


UPDATE:
the user requested to return an Optional instance, so it's likely ok to 
implement if requested.


was (Author: tandraschko):
Also check DELTASPIKE-1315
 i'm not sure if we need any additional thing for the Optional class, we 
already support it.
 A optional findBy should just return null instead of a optional class IMO.

Streams are different of course.

> Add a Java 8 base repository
> ----------------------------
>
>                 Key: DELTASPIKE-1328
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1328
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: Data-Module
>            Reporter: John D. Ament
>            Assignee: John D. Ament
>            Priority: Major
>             Fix For: 1.9.0
>
>
> Add a base repository, like {{EntityRepository}} but for Java 8 
> {{Optional/Stream}} use cases.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to