On 4/26/06, I. Venuti <[EMAIL PROTECTED]> wrote: > I'm trying to use an expression where I impose the condition "column is > null". > I've tried: > > exp.setOperand( Expression.EXIST, "id_news"); > > but it doesn't seem to work.
exp = ExpressionFactory.matchExp("id_news", null)
Something like the form below would help you avoid hardcoding model names.
exp = ExpressionFactory.matchExp(YourObjEntity.ID_NEWS_PROPERTY, null)
