I agree with SQL. If you also want to catch null you could do
Foo(field > 3 | == null)
cheers
Steve
On 3/15/07, Michael Neale <michael.neale(a)gmail.com> wrote:
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.
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
--
Steven Williams
Supervising Consultant
Object Consulting
Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501
stevenw(a)objectconsulting.com.au
www.objectconsulting.com.au
consulting | development | training | support
our experience makes the difference