This code...
<cfscript>
redisKey = "example:command:hmset";
hashValues = {};
hashValues["one"] = 1;
hashValues["two"] = 2;
hashValues["three"] = 3;
application.redis.hmset(redisKey, hashValues);
</cfscript>
...throws the following error on Railo...
java.lang.Double cannot be cast to java.lang.String
...when the hash values are passed to Jedis.
Not sure if there's a programmatic solution to avoid this or if the solution is "only use strings within hash value structs".
This code...
...throws the following error on Railo...
java.lang.Double cannot be cast to java.lang.String...when the hash values are passed to Jedis.
Not sure if there's a programmatic solution to avoid this or if the solution is "only use strings within hash value structs".