[rules-users] One question about Database interface

Mark Proctor mproctor at codehaus.org
Mon Jul 7 23:06:29 EDT 2008


Senlin Liang wrote:
> 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?
>   
you use hibernate to retrieve the items from your relational database 
and drools to reason over them using the 'from' keyword.
> 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
>>
>>     
>
>
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080708/0705dd7f/attachment.html 


More information about the rules-users mailing list