Is there any plans to make the queries reflect the information that may
have been previously altered within the transaction. In other words a
hybrid union of the information within the cache and the information
within the database. If not would it be a project that you would
consider opening. Because having the queries fall through to the
database really isn't a viable option to us and would probably stop us
from being able to use castor in our development efforts. 

Thank you in advance for any help you can provide

Adam

Adam Carbone
Open Channel Solutions
1400 Providence Hwy.
Suite 1000
Norwood, Ma


-----Original Message-----
From: Adam Carbone 
Sent: Thursday, July 26, 2001 10:36 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] castor OQL transaction query scope...


how is it that you can call castor a cache if the oql is not touching
the changes that are happening within the transaction? This is a feature
of any database system that when you run a query within a transaction
the previous changes and updates are reflected in the results to the
query.

Adam Carbone
Open Channel Solutions
1400 Providence Hwy.
Suite 1000
Norwood, Ma


-----Original Message-----
From: Thomas Yip [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001 9:04 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] castor OQL transaction query scope...




-----Original Message-----
>From: Dafydd Hopkin [mailto:[EMAIL PROTECTED]]
>Sent: Monday, July 23, 2001 9:56 AM
>To: [EMAIL PROTECTED]
>Subject: [castor-dev] castor OQL transaction query scope...
>
>Hi,
>
>Are altered objects, cached within Castor subject to OQL queries, or do
>these go straight to the database?

go straight.

>i.e. If a transaction is begun, and object is retrieved by
>database.get(...), and some fields altered, will an OQL query then run
>return a list of objects as per the status before the transaction, or
will
>it take it to consideration any changes to this object?

No, it doesn't not consider the recent change. 



Thomas

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to