2014. augusztus 7., csütörtök

Spring Data Jpa - Filters


I am working on an application with a lot of content nodes and fields. I want to provide the user with an interface to filter down the result set by various properties like tags, date, so on.


The backend uses spring data jpa and controllers to expose the resources as json. The play framework frontend consumes the endpoints. I've decided that querydsl will help me greatly at the service layer.


I'm concerned with maintaining the state of the query from frontend to service and minimizing the amount of boilerplate. I'm asking for guidance and examples on implementing a flexible and extensible filtering system or ideally links to samples and examples.






Nincsenek megjegyzések:

Megjegyzés küldése