diff --git a/src/docbkx/reference/redis.xml b/src/docbkx/reference/redis.xml index 3a65af587..ecd8575dd 100644 --- a/src/docbkx/reference/redis.xml +++ b/src/docbkx/reference/redis.xml @@ -229,7 +229,8 @@ Out of the box, RedisTemplate uses a Java-based serializer for most of its operations. This means that any object written or read by the template will be serializer/deserialized through Java. The serialization mechanism can be easily changed on the template and the Redis module offers several implementations available in the - org.springframework.data.keyvalue.redis.serializer package. + org.springframework.data.keyvalue.redis.serializer package. Note that the template requires all keys to be non-null - values can be null as long as the underlying + serializer accepts them; read the javadoc of each serializer for more information. Since it's quite the keys and values stored in Redis can be java.lang.String, the Redis modules provides StringRedisTemplate, a convenient provides a one-stop solution for intensive operations operations. In addition to be bound to String keys, the template uses the