You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have update locks on certain tables, but we do not want to block our user interface too much, so the idea is, to execute certain queries with READ_UNCOMMITTED - but I noticed, that it won't work when using the readonly connection
Question
Is this intended or a bug
Workaround
do not use readonly connection
The text was updated successfully, but these errors were encountered:
It's currently more a function that the databases I want to use don't support READ_UNCOMMITTED at all. Right now I'd be thinking that it is only useful for DB2. I wonder about the utility of supporting it.
Expected behavior
If a method is annotated with
@Transactional(readOnly = true, isolation = TxIsolation.READ_UNCOMMITTED)
the isolation level should be setActual behavior
You get a readonly-transaction with READ_COMMITTED
See: https://github.com/ebean-orm/ebean/blob/master/ebean-core/src/main/java/io/ebeaninternal/server/transaction/TransactionManager.java#L275
Use case
We have update locks on certain tables, but we do not want to block our user interface too much, so the idea is, to execute certain queries with
READ_UNCOMMITTED
- but I noticed, that it won't work when using the readonly connectionQuestion
Is this intended or a bug
Workaround
do not use readonly connection
The text was updated successfully, but these errors were encountered: