Michal Svab commented on Bug HHH-7643

This error happens when you have entity with enum attribute mapped with @Enumerated(EnumType.STRING) and using EhCache.

Exception is thrown when you create a cacheable query and elements start overflowing to the diskstore and the serialization kicks in. Theres no problem with the in-memory cache as it doesn't have to serialize anything.

Making the private EnumValueMapper classes inside org.hibernate.type.EnumType serializable fixes these issues.

As we use enums a lot in our entities this is becoming quite big problem for us. Could you look into it?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira