Re: ExpressionFactory Usage?

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Jan 08 2009 - 11:34:51 EST

  • Next message: Dave Merrin: "Re: ExpressionFactory Usage?"

    "number1<=number2" means comparing two columns? ExpressionFactory
    won't support it... IIRC even Expression.fromString() will not support
    comparing two columns, instead expecting path vs value comparison
    (worth a try though).

    EJBQLQuery on the other hand will support such comparison.

    Andrus

    On Jan 8, 2009, at 6:19 PM, Dave Merrin wrote:

    > Hi,
    >
    > I'm trying to create an expression that compares to fields in a
    > single table i.e. number1<=number2. I'm using the ExpressionFactory
    > to create all my expressions. Can I still use it to do create this
    > expression?
    >
    > Cheers,
    >
    > Dave
    >



    This archive was generated by hypermail 2.0.0 : Thu Jan 08 2009 - 11:35:23 EST