Skip to content

Commit 00e552e

Browse files
committed
properly deprecate SKIP_LOCKED with a version
1 parent 74a2ab8 commit 00e552e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public class LockOptions implements FindOption, RefreshOption, Serializable {
132132
* @see #getTimeOut()
133133
* @deprecated use {@link LockMode#UPGRADE_SKIPLOCKED}
134134
*/
135-
@Deprecated
135+
@Deprecated(since = "6.2", forRemoval = true)
136136
public static final int SKIP_LOCKED = -2;
137137

138138
private final boolean immutable;

0 commit comments

Comments
 (0)