Affects: 5.3.23
Due to the Spring Cache configuration, the serializer is also unable to retrieve the actual type information of the target method.
Comment From: quaff
It's the responsibility of cache implementation not cache abstraction.
If you are using org.springframework.data.redis.cache.RedisCacheManager
, you should implement your own RedisSerializer
. the same thing applies to other CacheManager
implementation.
Comment From: snicoll
Thanks @quaff, you are again spot on.
@L1yp the cache abstraction doesn't deal with details such as how the underlying cache deals with the data. The cache provider should be configured as such. Going forward, please ask questions on Stack Overflow, as mentioned in the guidelines for contributing, we prefer to use the issue tracker only for bugs and enhancements.