Re: Mistake in null-handling doc?

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Oct 12 2007 - 14:19:45 EDT

  • Next message: Gary Jarrel: "Re: Lifecycle Callbacks!"

    Good catch. I just fixed that. It will take some time to propagate to
    the site though.

    Thanks
    Andrus

    On Oct 12, 2007, at 9:15 PM, Robert Zeigler wrote:

    > http://cayenne.apache.org/doc/null-handling.html
    >
    > Gives the following example:
    >
    > Expression exp = ExpressionFactory.noMatchExp("birthDate",null);
    >
    > And says that a sql string similar to the following will be generated:
    >
    > ... WHERE t0.BIRTH_DATE IS NULL;
    >
    > Shouldn't that be:
    >
    > WHERE t0.BIRTH_DATE IS NOT NULL;
    >
    > ?
    >
    > (or else noMatchExp needs to be changed to matchExp...)
    >
    > Cheers,
    >
    > Robert
    >
    > PS: I can file a jira for this if you want... I was going to
    > change it myself, but I don't have permission to edit that page.
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Fri Oct 12 2007 - 14:20:16 EDT