Skip to content

Commit 9bdbe12

Browse files
committed
Fix documentation to use resource injection for RedisTemplate operations.
Closes #2828
1 parent a3ae422 commit 9bdbe12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/antora/modules/ROOT/pages/redis/hash-mappers.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class Person {
3131
3232
public class HashMapping {
3333
34-
@Autowired
34+
@Resource(name = "redisTemplate")
3535
HashOperations<String, byte[], byte[]> hashOperations;
3636
3737
HashMapper<Object, byte[], byte[]> mapper = new ObjectHashMapper();

0 commit comments

Comments
 (0)