Problems with comparator class

Description

The class org.hibernate.mapping.collection, the method getComparator has a bug. The first line:
if(comparator!=null && comparatorClassName!=null) {
... should be:
if(comparator==null && comparatorClassName!=null) {

Kind Regards,
Zoran Bogatinoski

Environment

MSSQL

Assignee

Unassigned

Reporter

Zoran Bogatinoski

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure