Envers ignores custom comparators for SortedSets
------------------------------------------------
Key: HHH-6176
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6176
Project: Hibernate Core
Issue Type: Bug
Components: envers
Affects Versions: 4.0.0.Alpha2
Environment: 3.6.0.Final
Oracle10g
Reporter: Michał Skowronek
Attachments: Custom_comparator_issues.patch
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira