Skip to content

Commit 618aff8

Browse files
committed
HHH-19336 - Proper implementation for JPA extended locking scope
HHH-19459 - LockScope, FollowOnLocking
1 parent e242509 commit 618aff8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hibernate-core/src/main/java/org/hibernate/LockOptions.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,7 @@ public LockOptions setFollowOnLocking(Boolean followOnLocking) {
423423
else {
424424
this.followOnStrategy = followOnLocking
425425
? Locking.FollowOn.FORCE
426-
// todo : DISALLOW or IGNORE?
427-
: Locking.FollowOn.IGNORE;
426+
: Locking.FollowOn.DISALLOW;
428427
}
429428
return this;
430429
}

0 commit comments

Comments
 (0)