I've started using RedisTemplate in a spring app. opsForHash() has a 'put' method, but it only takes three parameters. I want to save a number of key-value pairs. This is very simple to do in node, example:
redis.hmset(hashId, [key1, val1, key2, val2 ...], (err, result) => {});
How do I do the same with RedisTemplate or StringRedisTemplate? I want to save data to a hash as I pass them, without java appending strings when serializing