mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Explicit locking method withLock() is unaccessible on query beans
This commit is contained in:
@@ -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