getRedisTemplate().executePipelined(
new RedisCallback<Object>() {
@Override
public Object doInRedis(RedisConnection connection) throws DataAccessException {
connection.hGet(key);
return null;
}
}
);
The result is null
, and I can not fix it.