0

In a spring boot project with oracle we action our queries with spring data jpa @Query and declerative method queries like findAllByXAndByZ().We have a lots of web pages that most of them have sorting and filtering.for sorting and filtering and pagination we use spring data pagination with @Query.Then we show the data in web page form.Then,we need filtering on these filtered data!For example,user inputs s in search params (in url) then data will be filterd to words contains s. Can we use Redis cache with spring data redis for it?I mean in first step fetch data from oracle and cache it in redis,then in second step we action filtered in cache data?Or another way?

0 Answers0