Fix documentation to use resource injection for RedisTemplate operations.

Closes #2828
This commit is contained in:
Mark Paluch
2024-01-11 14:40:24 +01:00
parent a3ae422704
commit 9bdbe1257d

View File

@@ -31,7 +31,7 @@ public class Person {
public class HashMapping {
@Autowired
@Resource(name = "redisTemplate")
HashOperations<String, byte[], byte[]> hashOperations;
HashMapper<Object, byte[], byte[]> mapper = new ObjectHashMapper();