[jira] [Commented] (DELTASPIKE-1280) Automatic support for count* methods in EntityRepository

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

[jira] [Commented] (DELTASPIKE-1280) Automatic support for count* methods in EntityRepository

JIRA jira@apache.org

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

ASF subversion and git services commented on DELTASPIKE-1280:
-------------------------------------------------------------

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

DELTASPIKE-1280 Automatic support for count* methods in EntityRepository

> Automatic support for count* methods in EntityRepository
> --------------------------------------------------------
>
>                 Key: DELTASPIKE-1280
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1280
>             Project: DeltaSpike
>          Issue Type: New Feature
>          Components: Data-Module
>            Reporter: Artur Signell
>            Priority: Major
>             Fix For: 1.9.0
>
>
> Stream<Person> findByLocation(String location)
> will automatically create a query for finding all persons with the given location.
> long countByLocation(String location);
> could automatically create a query for counting all persons with the given location.
> This would be 1:1 with how Spring Data works: http://docs.spring.io/spring-data/jpa/docs/current/reference/html/#repositories.core-concepts



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