[rules-users] drools from database

Esteban Aliverti esteban.aliverti at gmail.com
Wed Dec 22 07:32:15 EST 2010


You can use drools template to define a template file and then populate the
variables of the template using your db data.

Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Wed, Dec 22, 2010 at 7:25 AM, Jonathan Woods <
jwoods at stl-technologies.co.uk> wrote:

> Insert the value from the database as a fact, and your rules will be
> able to reason on the basis of it.
>
> -----Original Message-----
> From: rules-users-bounces at lists.jboss.org
> [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of wasim.khan318
> Sent: 22 December 2010 10:19
> To: rules-users at lists.jboss.org
> Subject: [rules-users] drools from database
>
>
> can i write code like that
> when
> ItemId==$itemid
> then
> //
>
> in this i want $itemid value come from database
>
> --
> View this message in context:
> http://drools-java-rules-engine.46999.n3.nabble.com/drools-from-database
> -tp2130575p2130575.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101222/6fd9709a/attachment.html 


More information about the rules-users mailing list