Skip to content

Commit cc8801d

Browse files
committed
OPTIMISTIC + OPTIMISTIC_FORCE_INCREMENT are now supported in lock()
(Forgot to update the Javadoc.) For #329
1 parent 99e5bb7 commit cc8801d

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

hibernate-reactive-core/src/main/java/org/hibernate/reactive/mutiny/Mutiny.java

-3
Original file line numberDiff line numberDiff line change
@@ -456,9 +456,6 @@ interface Session extends AutoCloseable {
456456
*
457457
* This operation cascades to associated instances if the association is
458458
* mapped with {@link org.hibernate.annotations.CascadeType#LOCK}.
459-
* <p>
460-
* Note that the optimistic lock modes {@link LockMode#OPTIMISTIC} and
461-
* {@link LockMode#OPTIMISTIC_FORCE_INCREMENT} are not currently supported.
462459
*
463460
* @param entity a persistent or transient instance
464461
* @param lockMode the lock level

hibernate-reactive-core/src/main/java/org/hibernate/reactive/stage/Stage.java

-3
Original file line numberDiff line numberDiff line change
@@ -440,9 +440,6 @@ interface Session extends AutoCloseable {
440440
*
441441
* This operation cascades to associated instances if the association is
442442
* mapped with {@link org.hibernate.annotations.CascadeType#LOCK}.
443-
* <p>
444-
* Note that the optimistic lock modes {@link LockMode#OPTIMISTIC} and
445-
* {@link LockMode#OPTIMISTIC_FORCE_INCREMENT} are not currently supported.
446443
*
447444
* @param entity a persistent or transient instance
448445
* @param lockMode the lock level

0 commit comments

Comments
 (0)