Re: How to express "column is null"

From: Mike Kienenberger (mkienen..mail.com)
Date: Wed Apr 26 2006 - 10:33:25 EDT

  • Next message: Mike Kienenberger: "Re: Configuring Logging"

    On 4/26/06, I. Venuti <i.venut..aribel.it> 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)



    This archive was generated by hypermail 2.0.0 : Wed Apr 26 2006 - 10:33:50 EDT