<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Senlin Liang wrote:
<blockquote
cite="mid:5e9db1b50807071946n77e7051fh1df78c58f86c216a@mail.gmail.com"
type="cite">
<pre wrap="">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?
</pre>
</blockquote>
you use hibernate to retrieve the items from your relational database
and drools to reason over them using the 'from' keyword.<br>
<blockquote
cite="mid:5e9db1b50807071946n77e7051fh1df78c58f86c216a@mail.gmail.com"
type="cite">
<pre wrap="">
Thanks
On Mon, Jul 7, 2008 at 10:32 PM, Mark Proctor <a class="moz-txt-link-rfc2396E" href="mailto:mproctor@codehaus.org"><mproctor@codehaus.org></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Senlin Liang wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap="">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.
</pre>
<blockquote type="cite">
<pre wrap="">Thanks,
Senlin Liang
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>