Hi,
I have the following
scenario which i want to implement as rules
a) List = get the
list of bean through hibernate ---> this is not an
issue
b) for each bean
found in "a" -- iterate over and fire hibernate query to retrieve another bean
based on the query parameter from first bean
c) break the for
loop of "b" as sson as we found there is no result from the
query.
I am having issue in
getting the short circuit in there ? Is this achievable through the use of from,
collect or accumulate ?
As soon the rule
meets the short circuit -- i dont want to execute "n" number of other
queries unecessary.
Thanks for the
help.
Vijay