[ https://issues.apache.org/jira/browse/DELTASPIKE-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Andraschko updated DELTASPIKE-1280: ------------------------------------------ Fix Version/s: 1.9.0 > 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: 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)