Thanks
I made a search and it seems it is controlled by a config to switch between
identity or equality. Since I can only write rules, I can't enjoy the
advantage of that.

I ended up writing a retract rule to retract the same (equal) object from
memory with higher salience. So everytime some rules insert a new object,
this rule will fire to remove the object if they have the same id.



--
View this message in context: 
http://drools.46999.n3.nabble.com/Any-easy-way-to-avoid-inserting-same-id-object-into-memory-tp4027102p4027182.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to