5

It doesn't say exactly in the docs. I have seen this refer to not equals in other instances but HQL already has !=

If it does mean not equals how is it different from != ?

I'm sorry if this question has been asked before, but I wasn't able to find an exact explanation for it.

jyapx
  • 1,449
  • 1
  • 12
  • 18

1 Answers1

17

The SQL standard defines not equals as <>; HQL is SQL-like so follows suit.

Some database dialects (also) support != as the not equals operator, some only support !=, others only <>; but for dialects that support both, the behaviour is the same (at least, I am not aware of dialects where they behave differently).

Mark Rotteveel
  • 90,369
  • 161
  • 124
  • 175