[rules-users] One question about Database interface

Senlin Liang senlin.liang at gmail.com
Mon Jul 7 22:46:23 EDT 2008


So, to use a hibernate session, we are storing data in disk in some
"internal format" used by Drools, and we are not actually
communicating with some relational database systems. Is this correct?

Thanks

On Mon, Jul 7, 2008 at 10:32 PM, Mark Proctor <mproctor at codehaus.org> wrote:
> 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
>>
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
Senlin Liang



More information about the rules-users mailing list