This may be a silly question, but I had taken the non-self-joining
nature of Drools for granted. Aside from disabling the option in
RuleBaseConfiguration, how would one write a rule that would not self-
join (ie. the old behavior)?
(Say I wanted two different facts to match:
when
Foo()
Foo()
instead of the new default which allows the same fact to match)
Thanks.
Terry
On Mar 26, 2007, at 12:26 PM, Edson Tirelli wrote:
Michael,
In 3.1 the default is now to allow self joins (we need to add BIG
warnings to the documentation due to this change) and an option was
added to RuleBaseConfiguration to remove self joins.
[]s
Edson
Michael Neale wrote:
> I know that we by default remove self joins, ie:
>
> when
> Foo()
> Foo()
>
> will not match for the same instance of Foo - is it possible to turn
> that off? I know we talked about it at one point, not sure what the
> latest position is (someone was asking me and I can't recall what
our
> final position is). FYI Jess and Jrules both self join by default.
>
>---------------------------------------------------------------------
---
>
>_______________________________________________
>rules-dev mailing list
>rules-dev(a)lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3124-6000
Mobile: +55 11 9218-4151
JBoss, a division of Red Hat @
www.jboss.com
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3124-6000
Mobile: +55 11 9218-4151
JBoss, a division of Red Hat @
www.jboss.com
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev