[rules-users] One question about Database interface
Mark Proctor
mproctor at codehaus.org
Mon Jul 7 22:32:44 EDT 2008
Senlin Liang wrote:
> Hi all,
>
> Is there some convinent database interface implemented in Drools
> (store and retrieve data from DBMS, such as mysql) ?
>
> I checked the manual, and found no such information. So I am assuming
> that I will have to use JDBC. Is it right?
>
you should use Hibernate to access a database. You can then use then
pass the hibernate session as a global and use the "from" keyword to
execute querries to be filtered through a pattern.
> Thanks,
> Senlin Liang
> _______________________________________________
> 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