mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-22 15:10:02 +00:00
Explicit locking method withLock() is unaccessible on query beans
This commit is contained in:
1 parent
7fc4a229ae
commit
6d8a1c9398
2 files changed
+3
-2
No files matched your search
@@ -71,6 +71,7 @@ public class QCustomerTest {
|
||||
// not found using other transaction
|
||||
final Customer foundNot = new QCustomer()
|
||||
.name.eq("explicitTransaction")
|
||||
.withLock(Query.LockType.SHARE)
|
||||
.findOne();
|
||||
assertThat(foundNot).isNull();
|
||||
|
||||
|
||||
Reference in new issue
Block a user