[rules-users] Logical assertions & the KnowledgeBaseConfiguration insertion modes.

bardelman feki.ahmed.job at gmail.com
Sat Apr 28 05:39:54 EDT 2012


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-KnowledgeBaseConfiguration-insertion-modes-tp3946385.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list