Is there a generic REST query language for JPA, spring-data, spring-data-rest
There is no generic REST query language for JPA. What you've identified seems to be what is out there, however the low recent activity on querydsl and rsql suggests that you should use caution when adopting them. You will most likely have to support additional changes yourself by forking the projects, especially 5 years from now when for sure the author has moved on to other things.
Some other interesting links:
5) Use annotations to dynamically build queries
- https://blog.tratif.com/2017/11/23/effective-restful-search-api-in-spring
- maps annotations on a controller method via Spring's argument resolvers to JPA criteria specifications
- places SQL concepts like joins in the web controller, which leaks abstractions
- should be implemented at a service level not a controller level