Hi Shilpa,
You can pass your DAOs (or any other object) into the working memory as
globals and then use them in the consequence of your rules.
cheers
Steve
On 2/13/07, shilpa.raghavendra(a)wipro.com <shilpa.raghavendra(a)wipro.com>
wrote:
Hi,
I am using Drools 3.0 in our business logic. I need help in
the below situation
I will take the records from the database on daily basis and
each record is fact in the rule engine
I will check the fact against some constant value; if it
satisfies the condition then I need to update one field in the database.
I am using Ibatis as DAO framework.
How I can connect to database in *".drl"* file?
Please help me.
Thanks & Regards
Shilpa
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.
www.wipro.com
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Steven Williams
Supervising Consultant
Object Consulting
Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501
stevenw(a)objectconsulting.com.au
www.objectconsulting.com.au
consulting | development | training | support
our experience makes the difference