<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
if bar is an integer it will be 0, if its an Integer it will be null.
The Q is do we make Integer work like the primitive, or do we make it
work like an Object.<br>
<br>
Mark<br>
Michael Neale wrote:
<blockquote
 cite="mid:96ab3ced0703142259q513d3170je37fbebc89040975@mail.gmail.com"
 type="cite"><a moz-do-not-send="true"
 href="http://jira.jboss.com/jira/browse/JBRULES-627">http://jira.jboss.com/jira/browse/JBRULES-627</a><br>
  <br>
OK, this much is clear: <br>
  <br>
Foo(field == null) can be true if field is null.<br>
  <br>
but, what about Foo(field &gt; 3), and field is null? should that be
false? what about Foo(field != 3) - should that be true? <br>
  <br>
in SQL, null will always result in a false condition, unless you
explicitly use null.<br>
  <br>
Thoughts? <br>
  <br>
Michael.<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a>
  </pre>
</blockquote>
<br>
</body>
</html>