[ https://issues.apache.org/jira/browse/DELTASPIKE-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448274#comment-16448274 ]
ASF subversion and git services commented on DELTASPIKE-1280: ------------------------------------------------------------- Commit dc45c497353371fbd70bd3efd5c7f9ec5ebb926a in deltaspike's branch refs/heads/master from [~tandraschko] [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=dc45c49 ] 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 > Assignee: Thomas Andraschko > Priority: Minor > 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)