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:16:44 EDT