Hi all,
I have a simple query in which I want to select records that meet equality condition with an Enum type.
select t from MyEntity t where t.statusType is not StatusType.NEW
t.statusType is not com.myejb.enums.StatusType.NEW
t.statusType is not com.myejb.enums.StatusType.NEW and t.statusType is not com.myejb.enums.StatusType.SENT
sorry, I made a mistake
I should use <> instead of "is not"
:)