Hi,
I am facing this error can anyone help me with it
2025-03-06 01:50:16 [redisson-netty-2-11] ERROR - Unable to decode data. channel: [id: 0xce2d97ec, L:/127.0.0.1:54755 - R:127.0.0.1/127.0.0.1:6379], reply: ReplayingDecoderByteBuf(ridx=296, widx=296), command: (EVAL), promise: java.util.concurrent.CompletableFuture@6983959e[Not completed, 1 dependents], params: [local value = redis.call('hget', KEYS[1], ARGV[2]); if value == false then return nil; end; local t, val = struct.unpack('dLc0', value); local expireDate = 92233720368547758; local expireDateScore = redis.call('zscore', KEYS[2], ARGV[2]); if expireDateScore ~= false then expireDate = tonumber(expireDateScore) end; if expireDate <= tonumber(ARGV[1]) then return nil; end; return val; , 2, com.finxera.card.funding.entities.Sample, redisson__timeout__set:{com.finxera.card.funding.entities.Sample}, 1741206016432, PooledUnsafeDirectByteBuf(ridx: 0, widx: 102, cap: 256)]
I am trying to use redisson for redis l2 cache in hibernate,
what I did, I call a createNativeQuery method, to fetch from db using this query
select * from sample where name = ?;
then it cached the result like this in redis
1) "{\"entityOrRoleName\":\"Sample\",\"hashCode\":1,\"id\":[\"java.lang.Long\",1]}"
2) "\x00\x00\x00\x00\x00\x00\x00\x00 \x01\x00\x00\x00\x00\x00\x00{\"timestamp\":7131979204976640,\"value\":{\"@class\":\"org.hibernate.cache.spi.entry.StandardCacheEntryImpl\",\"deepCopyNeeded\":true,\"disassembledState\":[\"[Ljava.io.Serializable;\",[null,22,null,\"male\",\"anshjain\",1.1]],\"referenceEntry\":false,\"subclass\":\"com.finxera.card.funding.entities.Sample\"}}"
then i call update method using session.merge(entity) then i get this error, can anyone please help me with it