Announcement Announcement Module
Collapse
No announcement yet.
Any plans to support sorting of finder methods (backed by a NamedQuery)? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Any plans to support sorting of finder methods (backed by a NamedQuery)?

    In Spring Data JPA, I have a method like:

    Code:
    Page<User> findByNameLike(String name, Pageable pageable);
    I get an INFO log that says:

    Code:
    Finder method public xxx xxx xxx is backed by a NamedQuery but contains a Pageble parameter but contains a Pageble parameter! Sorting deliviered via this Pageable will not be applied!
    Q1: Any plans to support sorting such finder methods in the near future?

    Q2: Any workaround for this to work (param(s) + paging + sorting), other than implementing the finder method in the associated custom repository class?
Working...
X