[jira] [Commented] (DELTASPIKE-1315) EntityRepository should offer an findOptionalBy

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (DELTASPIKE-1315) EntityRepository should offer an findOptionalBy

JIRA jira@apache.org

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

ASF subversion and git services commented on DELTASPIKE-1315:

Commit 376114096b824df8888854e69c1e86e34817c1a8 in deltaspike's branch refs/heads/master from [~tandraschko]
[ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=3761140 ]

DELTASPIKE-1315 fixed unit test

> EntityRepository should offer an findOptionalBy
> -----------------------------------------------
>                 Key: DELTASPIKE-1315
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1315
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: Data-Module
>            Reporter: Kevin Gr√ľneberg
>            Assignee: Thomas Andraschko
>            Priority: Minor
>             Fix For: 1.9.0
> The EntityRepository interface offers an findBy(PK id) method, that returns the entity based on the ID. It would be great to also have an findOptionalBy(PK id) that returns an optional.

This message was sent by Atlassian JIRA