Re: [rules-users] One question about Database interface

2008-07-08 Thread Jaroslaw Kijanowski
on Hibernate. With kind regards, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Senlin Liang Sent: 08 July 2008 13:12 To: Rules Users List Subject: Re: [rules-users] One question about Database interface Thanks. Where could I find the related manual

Re: [rules-users] One question about Database interface

2008-07-08 Thread Senlin Liang
; more specifically to JPA. >> >> As Mark says, (native) Hibernate can also be used very easily. >> >> With kind regards, >> >> Mike >> >> >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf

RE: [rules-users] One question about Database interface

2008-07-08 Thread Anstis, Michael (M.)
egards, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Senlin Liang Sent: 08 July 2008 13:12 To: Rules Users List Subject: Re: [rules-users] One question about Database interface Thanks. Where could I find the related manual or instructions? I

Re: [rules-users] One question about Database interface

2008-07-08 Thread Jaroslaw Kijanowski
regards, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Senlin Liang Sent: 08 July 2008 03:18 To: Rules Users List Subject: [rules-users] One question about Database interface Hi all, Is there some convinent database interface implemented in Drools (stor

Re: [rules-users] One question about Database interface

2008-07-08 Thread Senlin Liang
] On Behalf Of Senlin Liang > Sent: 08 July 2008 03:18 > To: Rules Users List > Subject: [rules-users] One question about Database interface > > Hi all, > > Is there some convinent database interface implemented in Drools > (store and retrieve data from DBMS, such as mysql) ? &g

Re: [rules-users] One question about Database interface

2008-07-08 Thread Ojwang Wilson O
Hi Senlin, It will be easy to use JPA. Here is an example. === This example assume that you have a Person POJO and you want to query all persons with the age lest than or equal to 20. public class DroolsTest { public static final void main(String[] args) { try {

RE: [rules-users] One question about Database interface

2008-07-08 Thread Anstis, Michael (M.)
regards, Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Senlin Liang Sent: 08 July 2008 03:18 To: Rules Users List Subject: [rules-users] One question about Database interface Hi all, Is there some convinent database interface implemented in

Re: [rules-users] One question about Database interface

2008-07-07 Thread Mark Proctor
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 dro

Re: [rules-users] One question about Database interface

2008-07-07 Thread Senlin Liang
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 <[EMAIL PROTECTED]> wrote: > Senlin Liang wrote:

Re: [rules-users] One question about Database interface

2008-07-07 Thread Mark Proctor
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 acces

[rules-users] One question about Database interface

2008-07-07 Thread Senlin Liang
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? Thanks, Senlin Liang