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
; 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
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
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
] 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
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 {
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
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
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:
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
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
11 matches
Mail list logo