darrachequesne / spring-data-jpa-datatables

Spring Data JPA extension to work with the great jQuery plugin DataTables (https://datatables.net/)
Apache License 2.0
441 stars 174 forks source link

How to implement where clause in Repository. #72

Closed Ashwani-772 closed 6 years ago

Ashwani-772 commented 6 years ago

I am not able to implement where clause in it. It is working find in findAll() but i have to use where clause with Query. Please help me out on this.

darrachequesne commented 6 years ago

Hi! Please see https://github.com/darrachequesne/spring-data-jpa-datatables-sample for a proper example.

darrachequesne commented 6 years ago

Please reopen if needed.

AshrafPasha commented 5 years ago

Your tutorial says "You can apply specific filter on a column with table.columns().search().draw(); (or table.columns(:name)...) "

How do I apply specific filter using column name, which will result into a Where clause for that column name, I am struggling to do that, can you please elaborate? thanks a lot!