Re: [rules-users] Re: beginner needs help

2008-06-11 Thread Senlin Liang
://lists.jboss.org/mailman/listinfo/rules-users -- Senlin Liang ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] question about updating main memory

2008-07-07 Thread Senlin Liang
, -- Senlin Liang ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[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

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-08 Thread Senlin Liang
then the remaining questions relate 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 Of Senlin Liang Sent: 08 July 2008 03:18 To: Rules Users List

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

2008-07-08 Thread Senlin Liang
up 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

[rules-users] One question about NOT

2008-07-09 Thread Senlin Liang
Hi all, I checked the manual about not, and it says: ==quote== not' is first order logic's Non-Existential Quantifier and checks for the non existence of something in the Working Memory. Think of 'not' as meaning there must be none of ==end== So there is no negation-as-failure, no stable

[rules-users] Re: Drools indexing

2008-10-15 Thread Senlin Liang
One more question: does drools index intermediate results (such as the inserted objects in actions)? Is there any cost-based optimization for queries? Thanks On Wed, Oct 15, 2008 at 9:10 AM, Senlin Liang [EMAIL PROTECTED] wrote: Hi all, I got one question: How does drools index the objects

[rules-users] Drools indexing

2008-10-15 Thread Senlin Liang
Hi all, I got one question: How does drools index the objects in memory? Does it use hashing index, based on what? Or drools uses adaptive indexing? Thanks a lot, Senlin ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] Re: Drools indexing

2008-10-15 Thread Senlin Liang
the primary key. Drools runs really fast for this program. I am wondering whether there is anything behind to make drools fast. Senlin On Wed, Oct 15, 2008 at 3:41 PM, Mark Proctor [EMAIL PROTECTED] wrote: Senlin Liang wrote: One more question: does drools index intermediate results

Re: [rules-users] Re: Drools indexing

2008-10-15 Thread Senlin Liang
performs much more better than XSB/YAP for this query, and I am trying to figure out what is the reason behind. Would you share some ideas? Thanks, Senlin On Wed, Oct 15, 2008 at 5:40 PM, Mark Proctor [EMAIL PROTECTED] wrote: Senlin Liang wrote: Thanks Mark! I got another question: what kind

Re: [rules-users] Re: Drools indexing

2008-10-16 Thread Senlin Liang
Thanks Mark! one more thing is that: is drools using some special join algorithms (like star-join) in this case? or there is always one join algorithm in drools? Thanks again, Senlin On Thu, Oct 16, 2008 at 1:02 AM, Mark Proctor [EMAIL PROTECTED] wrote: Senlin Liang wrote: My test query

[rules-users] one question about asserting facts

2009-02-05 Thread Senlin Liang
Hi all, I am trying to assert (or insert) a large number of facts (or DataClass objects) in to a session, what i am doing right now is to insert them one by one as - while (line != null) { str = bufRead.readLine(); session.insert(new