We have been facing deadlocks in some queries(select queries causing deadlocked update queries). By default kodo READS_COMMITTED,which is okay for update queries. I know that we can set this property at application level :
kodo.jdbc.TransactionIsolation: read-uncommitted
But in my case, I just want to specify the transaction isolation on a single kodo query. Is that possible? I am pretty new to kodo, so any help/comments any highly appreciated.
Using the documentation of Kodo with JDO:
You have the next methods of locking a object:
And the next example:
// retrieve the lock level of an object