Skip to content

Commit d66ae34

Browse files
committed
HHH-19782 - Oracle support for locking across joins
1 parent 56f18a4 commit d66ae34

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hibernate-core/src/main/java/org/hibernate/dialect/lock/internal/OracleLockingSupport.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ public RowLockStrategy getWriteRowLockStrategy() {
6161

6262
@Override
6363
public OuterJoinLockingType getOuterJoinLockingType() {
64-
return OuterJoinLockingType.UNSUPPORTED;
64+
// Per Loic, as of 23 at least, Oracle does support this.
65+
// Let's see what CI says for previous supported versions.
66+
return OuterJoinLockingType.IDENTIFIED;
6567
}
6668

6769
@Override

0 commit comments

Comments
 (0)