JOOQ record caching exception
<p>I am trying to cache JOOQ record result using redis. But the same is throwing the following error:</p>

<pre><code>org.springframework.data.redis.serializer.SerializationException: Cannot serialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to serialize object using DefaultSerializer; nested exception is java.io.NotSerializableException: org.jooq.impl.Utils$Cache$Key
</code></pre>

<p>Any suggestion how to fix this?</p>