Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2203

Spring Data and Redis - serializing transient fields

$
0
0

I am using Redis as my database with Spring data, with no custom value or hash value serializer. I assume the standrad JdkSerializationRedisSerializer should be used then for objects serialization. It looks like transient fields of some objects are serialized to the database.

Transient field modifier, transient method annotations, @JsonIgnore properties - all of them don't seem to affect the serialization of the field.

How can I overcome this issue?


Viewing all articles
Browse latest Browse all 2203

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>