Generate the SQL queries dynamically in spring data jpa