NotSerializableException is thrown when trying persist cacheable entity in second level cache. Bytecode enhancement "lazy loading" is enabled. The exception is catched but storing in cache is not working. The reason for serializing key is making copy of key. Testcase is on GitHub Exception stack:
|