Re: [rules-users] How to use database in drool

2012-02-12 Thread shawn
Thanks~~ -- View this message in context: http://drools.46999.n3.nabble.com/How-to-use-database-in-drool-tp3737584p3737622.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] How to use database in drool

2012-02-12 Thread Brad Davis
Set a DAO into the global; then the DAO can access the data in the right hand side using whatever internal implementation you have, whether it's SQL or HQL. On Feb 12, 2012, at 10:35 AM, shawn wrote: > Hi~ > My project requires to use drool interact with MySQL. > Like once the rule engine re

[rules-users] How to use database in drool

2012-02-12 Thread shawn
Hi~ My project requires to use drool interact with MySQL. Like once the rule engine received a request, the engine will ask the database to send some fact to the engine. The engine should give a result after matching the fact with the rule (in rule engine). Is there any tutorial for building connec