posted 8 years ago
Hello All,
I have read that the Spring CrudRepository method, save(Iterable<S> entities), does not clear the cache when running. The problem is that too much memory is taken and that the cache should be cleared periodically during the save loop.
Is it possible to create an interface extended from the CrudRepository with a new save(Iterable<S> entities)? The implementation of the new interface would clear the cache periodically during the save loop.
Thanks for any help you can give.
-Ravi