When I said "at runtime" I meant during the normal course of your
application's operation - obviously KnowledgeBase's need to be set up in
some shape or form at runtime (initialisation)!! :-)
On 22 October 2010 19:22, Michael Anstis wrote:
> Sure, check out KnowledgeBase's removeRule(String, Str
Sure, check out KnowledgeBase's removeRule(String, String) method.
Modifications to you KnowledgeBase are going to be more expensive than with
Sessions, so ask yourself whether manipulating KnowledgeBase's at runtime is
something you really want to be doing when you (probably) will be able to
get i
Michael Anstis wrote:
> If you use a StatelessKnowledgeSession you won't need to remove the old
> facts.
>
> If however you want to use a StatefulKnowledgeSession for other reasons
> the
> insert method returns a FactHandle that can be later used to retrieve the
> fact: ksession.retract(factHandle)
If you use a StatelessKnowledgeSession you won't need to remove the old
facts.
If however you want to use a StatefulKnowledgeSession for other reasons the
insert method returns a FactHandle that can be later used to retrieve the
fact: ksession.retract(factHandle). Please refer to the documenation
Hi..
I want to delete the objects which i inserted earlier to execute the rules
upon. Why i want this is i have two lists containing 20 objects of two
different classes. for every combination i am assigning some values to the
class variables in the rule file. So at any single time i want to exec