agentgt / jirm

A Java Immutable object Relational Mapper focused on simplicity, convenience, and thread safety.
Apache License 2.0
66 stars 10 forks source link

Support .notEq #5

Closed agentgt closed 11 years ago

agentgt commented 11 years ago

The only way to do not equal (ie <> or !=) is:

.property("pageType").eq(PageType.PUBLIC.name()).not()

Which I find to be not very elegant or SQL like as the .not() is postfix.

.property("pageType").notEq(PageType.PUBLIC.name())

Would be better.