| Types that are persisted using JPA Attribute Converters (@Convert(converter = SomeClassConverter.class)) that do not implement Serializable cause warnings during the application startup:
2016-06-15 19:16:45.227 WARN 1198 --- [ost-startStop-1] o.h.t.d.java.JavaTypeDescriptorRegistry : Could not find matching type descriptor for requested Java class [com.example.SomeClass]; using fallback
The application is working fine nonetheless and the warning goes away if I make the type implement Serializable. I've looked through the documentation, the issue database and the source code and I'm not sure whether this warning is a reason for concern. If it is, I would appreciate if the warning could be more helpful, e.g. by telling me what to do about it. Otherwise the warning should be demoted to a less alarming log level. |