-
Notifications
You must be signed in to change notification settings - Fork 389
Closed
Labels
Description
Latest changes in io.hypersistence.utils.hibernate.type.util.ObjectMapperJsonSerializer are making impossible to clone non serializable object. One of consequences is that io.hypersistence.utils.hibernate.type.json.JsonBinaryType can not handle non serializable types any more.
Example code below will now throw ClassCastException
Object original = new NonSerializableObject("value");
final var type = new JsonBinaryType(NonSerializableObject.class);
final var cloned = type.deepCopy(original);
Reactions are currently unavailable