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(a)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-tp3737584p...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users