Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2203

NOPERM this user has no permissions to run the 'hmset' command

$
0
0

i'm trying to write a redis object on an instance of REDIS using spring-boot-starter-data-redis.On Redis istance is deactivated the hmset and i must save object with hset.

But i only run this:

repository.save(myObject);

where repository:

@Repositorypublic interface repository extends CrudRepository<myObject, String> {}

and myObject:

@RedisHashpublic class myObject{@Idprivate String sessionId;...}

How can i force spring lib to use hset instead of hmset?

Thank you,Mik


Viewing all articles
Browse latest Browse all 2203

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>