[rules-users] Shadow Facts & update

vdelbart delbart.v at mipih.fr
Mon Apr 28 10:06:21 EDT 2008


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.




More information about the rules-users mailing list