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

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

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

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/DELTASPIKE-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Andraschko updated DELTASPIKE-1239:
------------------------------------------
    Priority: Minor  (was: Major)

> 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
>            Priority: Minor
>
> 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
(v7.6.3#76005)