Artur Signell created DELTASPIKE-1280:
-----------------------------------------
Summary: 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
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
(v6.4.14#64029)