[rules-users] In drools what is the exact difference between Insert and Update ??

Vincent LEGENDRE vincent.legendre at eurodecision.com
Wed Mar 28 15:06:05 EDT 2012


Quick summary of : http://docs.jboss.org/drools/release/5.4.0.Beta2/drools-expert-docs/html_single/index.html#d0e5989 
insert = inserts a new object in the working memory
update = tells the engine that an existing object in the working memory has changed

Unexpected question from someone that "had written many rules in my previous project and also successfully applied it's (Drools) most of the features" (according to another post from you)...

These concepts are the very basic one of an expert-system (drools or others), and are described in details in the very first chapter of the drools-expert documentation (or in any description of how an inference engine works, like on wikipedia).
I think you should really start by reading the doc before asking such questions.
And I am still wondering how you can have used drools before without knowing that ...


----- Mail original -----
De: "Bhushan Sonaje" <bhushansonaje at gmail.com>
À: rules-users at lists.jboss.org
Envoyé: Mercredi 28 Mars 2012 20:18:56
Objet: [rules-users] In drools what is the exact difference between Insert	and Update ??

what is the exact difference between Insert and Update ?? I am little
confused here when to used insert and when to use update ?? 
and is it possible to retrieved updated object from working memory without
using *UPDATE* keyword

--
View this message in context: http://drools.46999.n3.nabble.com/In-drools-what-is-the-exact-difference-between-Insert-and-Update-tp3865471p3865471.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list