I have a requirement of generating dynamic native query in JPA as we are working on adding filers dynamically with dynamic sorting.
Here is the my code: @Query(value = &q