Hi All,
I am having a metadata Table and I am running the same OQL query on the
table in a multithreaded environment. But at the time when I am iterating
over the Queryresults the code becomes serial in nature and only one thread
is executiung at that time.
Upon analyzing I found that even if in the mapping the acessmode is
"read-only", In LockEngine.java in load() method we are doing
lock = typeInfo.acquire( oid, tx, action, timeout );
and
if ( lock != null ) lock.confirm( tx, succeed ); (in the finally block)
This makes the code serial in nature and the performance of the application
suffers. Am I missing something?
Is there a way of avoiding this locking?
-Kalpesh
| ||||||||||||||
| ||||||||||||||
| Add me to your address book... | ||||||||||||||
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
