Skip to content

Latest commit

 

History

History
 
 

dynamic-sql-querying-with-pagination

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Steps to run this project:

  1. Clone this Git repository
  2. Navigate to the folder dynamic-sql-querying-with-pagination
  3. Run the application with mvn spring-boot:run
  4. Visit the following endpoint within your browser or a REST client (e.g. Postman): http://localhost:8080/persons
  5. Play around with the filtering criterias and the requested page and its size e.g.:
http://localhost:8080/persons?firstname=Max&page=0&size=5
http://localhost:8080/persons?firstname=Max&lastname=Schmid&page=0&size=5
http://localhost:8080/persons?firstname=Duke&lastname=Schmid&page=0&size=50
http://localhost:8080/persons?firstname=Duke&lastname=Schmid&budget=1337&page=0&size=50
http://localhost:8080/persons?firstname=Duke&lastname=Schmid&budget=1337&page=0&size=50
http://localhost:8080/persons?firstname=Duke&lastname=Schmid&budget=1337&dobLimit=976579200&page=0&size=50
http://localhost:8080/persons?page=42&size=42

http://localhost:8080/persons/simplified?lastname=Lewis&page=1&size=4
http://localhost:8080/persons/simplified?firstname=Max&lastname=Harris
http://localhost:8080/persons/simplified?budget=8686