Fixed
Details
Assignee
AdamAAdamAReporter
Michał SkowronekMichał SkowronekComponents
Fix versions
Affects versions
Priority
Major
Details
Details
Assignee
AdamA
AdamAReporter
Michał Skowronek
Michał SkowronekComponents
Fix versions
Affects versions
Priority
Created April 30, 2011 at 4:32 PM
Updated March 7, 2014 at 10:08 PM
Resolved June 9, 2011 at 1:19 AM
That issue was originally found in hibernate 3.6.0.Final, but I was able to reproduce it on the newest version of hibernate-core.
It's all about setting custom comparator for mapped SortedSets.
AuditReader ignores custom comparator setting from hibernate config and this leads to a ClassCastException if set elements are not Comparable. Making them Comparable is a quick, yet not very clean way to fix the problem.