cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Zeigler <robe...@puregumption.com>
Subject Mistake in null-handling doc?
Date Fri, 12 Oct 2007 18:15:56 GMT
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.



Mime
View raw message