bean id="jedisConnectionFactory" class="org.springframework.data.redis.connection.jedis.JedisConnectionFactory" p:host-name="${redis.server}" p:port="${redis.port}" p:use-pool="true"/> <bean id="stringRedisSerializer" class="org.springframework.data.redis.serializer.StringRedisSerializer"/> <bean id="redisTemplate" class="org.springframework.data.redis.core.RedisTemplate" p:connection-factory-ref="jedisConnectionFactory" p:keySerializer-ref="stringRedisSerializer" p:hashKeySerializer-ref="stringRedisSerializer"
/>
http://stackoverflow.com/questions/13215024/weird-redis-key-with-spring-data-jedis
spring+redis+xml反序列化
最新推荐文章于 2024-01-31 15:32:14 发布