>I'm not looking for numbers at this point, it's more about the
>approach. If a query returns 500 rows, will Castor *always* create 500
>internal objects representing the rows?

Yes. Castor always create 500 internal objects.

>What if one wants to use Castor
>just as an O/R mapper (in some cases) and is not interested in
>transactions, locks etc?

You can load object in read-only mode, but transaction and locks overhead
will not be bypassed.

>>3) Does Castor allow to control isolation level of transactions?
>
>TY> No. You can not control it.
>TY> I think it can not exactly maps the SQL isolation to the Castor
>one.
>TY> Castor roughly maps to TRANSACTION_REPEATABLE_READ
>
>Internally each connection to the database comes with an isolation
>level. What is the default isolation level used by Castor and can it be
>changed?

Castor has it own memory concurrency engine. It should run fine with any
isolation level except TRANSACTION_NONE.



Thomas

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

Reply via email to