though I referred other thread about this topic, I'm not successful to make a
dao call.
I beg your pardon to ask again.
1. I want to pass the fact object to the dao function which returns boolean.
I tried following rule and getting "
Unexpected token '$fact'" as eclipse compilation error. Please guide with
right syntax.
global RuleDAO dao;
rule "test DAO call"
$fact : Fact(some condition)
fact : Fact(dao.isValid($fact))
then
#do something
end
2. Will be there any performance issue for above kind of rule?
Thanks
--
View this message in context:
http://www.nabble.com/DAO-call-in-LHS-tp20709043p20709043.html
Sent from the drools - user mailing list archive at
Nabble.com.