[rules-users] Question about best practice using queries
Dave McLoughlin
Dave.McLoughlin at openlogic.com
Tue Sep 15 12:04:00 EDT 2009
We are trying to figure out the best way to implement a rule.
Is there any difference in processing costs of the following 2
solutions:
1) A fact is inserted into a session and a rule's LHS is evaluated to
check if the rule should fire
2) A query is executed on a session with the same criteria as the LHS
for the rule from #1
Which one is more efficient or are they implemented the same way and
there is no difference?
Thanks,
Dave McLoughlin | OpenLogic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090915/8a6dfa54/attachment.html
More information about the rules-users
mailing list