我想使用stringredistemplate和SpringDataRedis。即使将stringredistemplate配置为redistemplate bean,存储库也会创建哈希。
@Bean
public RedisTemplate redisTemplate() {
StringRedisTemplate template = new StringRedisTemplate(jedisConnectionFactory());
return template;
}
暂无答案!
目前还没有任何答案,快来回答吧!