Hello,

for hibernate reason I disable shadow facts; however I have 'update' like
this :

rule "eeeee"
when
  ...
then
  obj.attr = "other";
  update(obj);
end

and I can confirm, I have an "unpredictable behavior".

Could I replace this sentence by this :

rule "eeeee"
when
  ...
then
  retract(obj);
  obj.attr = "other";
  insert(obj);
end

thanks for your help,

V.


  
 
-- 
View this message in context: 
http://www.nabble.com/Shadow-Facts---update-tp16939699p16939699.html
Sent from the drools - user 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