You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Matti Tahvonen (JIRA)" <ji...@apache.org> on 2017/03/16 12:49:41 UTC

[jira] [Created] (DELTASPIKE-1239) Add ability to return QueryResult without predicate

Matti Tahvonen created DELTASPIKE-1239:
------------------------------------------

             Summary: Add ability to return QueryResult without predicate
                 Key: DELTASPIKE-1239
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1239
             Project: DeltaSpike
          Issue Type: Improvement
          Components: Data-Module
            Reporter: Matti Tahvonen


A following method name in repository would be handy for dynamic sorting and paging of all entities:

    QueryResult<Person> findAllBy();

Currently the library don't know how to handle that and it requires one to add @Query("from Person") annotation. It would be handy if the query annotation could be left out.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)