HHH-4775 - CriteriaBuilder#notEqual being interpreted oppositely
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18484 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
20b78f45a7
commit
6b6cee1b31
|
@ -366,7 +366,7 @@ public class CriteriaBuilderImpl implements CriteriaBuilder, Serializable {
|
|||
*/
|
||||
public Predicate notEqual(Expression<?> x, Object y) {
|
||||
//noinspection SuspiciousNameCombination
|
||||
return new ComparisonPredicate( this, ComparisonOperator.NOT_EQUAL, x, y ).not();
|
||||
return new ComparisonPredicate( this, ComparisonOperator.NOT_EQUAL, x, y );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue