[rules-users] How to use database in drool

Brad Davis bdavis at redhat.com
Sun Feb 12 11:42:45 EST 2012


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 <youngxiao121 at hotmail.com> wrote:

> 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 connection between the engine to the
> database?
> I know Hibernate can do it, but for SQL is there any way to do it?
> 
> Regards,
> Shawn
> 
> --
> View this message in context: http://drools.46999.n3.nabble.com/How-to-use-database-in-drool-tp3737584p3737584.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list