[rules-users] Help Needed

Steven Williams stevenw at objectconsulting.com.au
Mon Feb 12 22:51:28 EST 2007


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 at wipro.com <shilpa.raghavendra at 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 at 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 at objectconsulting.com.au
www.objectconsulting.com.au

consulting | development | training | support
our experience makes the difference
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070213/1faf0897/attachment.html 


More information about the rules-users mailing list