[rules-users] Question about pulling data from external database
Mark Proctor
mproctor at codehaus.org
Wed Jan 28 19:06:40 EST 2009
Zhang Jing-A52198 wrote:
>
> Hi All,
>
>
>
> When I use the "from" keyword to pull data from external database,
> will those data get inserted to the current working memory?
>
No, think of it link a nested for loop. That data is local to the rule,
you cannot retract it, they will be garbage collected with the existing
woringmemory elements that join with them are removed.
> Do I need to retract them after the rules are fired?
>
>
>
> Thanks,
>
> Jing
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090129/c2f87040/attachment.html
More information about the rules-users
mailing list