logical insertions are always equality based, that cannot be changed.
Mark
On 28/04/2012 10:39, bardelman wrote:
Hi ,
i ve read that when the same fact is logically inserted into a session by
more rules, only one equal instance will be physically present in the
session.
On the other hand, i learned that Drools supports two fact insertion modes
:equality and identity.Identity (which is the default) means that no two
objects with the same JVM object reference can be inserted into the
knowledge session.
what if the equality mode is set and the logical assertion is used ? does
these modes only concerns the non logical assertion and not the logical?
i ve found in an exemple in the Drools-JBoss-Rules-5.0-Developers-Guide,
that each logically inserted fact has a counter which is incremented every
time an equal fact is inserted. Does this counter belongs to the drools
specification ?
--
View this message in context:
http://drools.46999.n3.nabble.com/Logical-assertions-the-KnowledgeBaseCon...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users