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 <[email protected]> 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 > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
