hi,
it seems, following every query that is in a transaction, OpenJPA
automatically issue a UPDATE statement to update the version field. (i read
from the log file) Is there any way to avoid sending the UPDATE statement
for read only query? is the issue related to Lock Manager?

the following are tried:

   - if the query is not in transaction, there won't be an automatic update
   statement.
   - Setting the readLockMode of the query fetchplan cannot disable the
   version update. (well... not sure if it's relevant. i just give it a try)


Thank you very much.

Regards,
mingfai

Reply via email to