There's a paragraph or two about "assertion modes, i.e., equality or
identity" in the Drools Expert manual. Note that inserting identical
objects is against the meaning of "fact", and that may also be true
for objects that are equals().
For explicit control about the distinction between == and equals()
wrap your condition code in eval(), where Drools does not interfere.
-W
On 03/05/2013, Sean Su <sean.x.su(a)gmail.com> wrote:
In another word, do we have operator doing what "object ==
object" in Java?
thanks
Sean