[rules-dev] need advice re null handling

Michael Neale michael.neale at gmail.com
Thu Mar 15 01:59:38 EDT 2007


http://jira.jboss.com/jira/browse/JBRULES-627

OK, this much is clear:

Foo(field == null) can be true if field is null.

but, what about Foo(field > 3), and field is null? should that be false?
what about Foo(field != 3) - should that be true?

in SQL, null will always result in a false condition, unless you explicitly
use null.

Thoughts?

Michael.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20070315/ca570732/attachment.html 


More information about the rules-dev mailing list