]
Gail Badner reopened HHH-6176:
------------------------------
I only see test cases. Was this issue fixed?
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
Assignee: Adam Warski
Fix For: 3.6.5, 4.0.0.Beta1
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: