HHH-18554 also deprecate CascadingActions.LOCK

This commit is contained in:
Gavin King 2024-09-11 00:58:45 +02:00
parent d82913d65f
commit 3a4da8dd85
1 changed files with 4 additions and 0 deletions

View File

@ -91,7 +91,11 @@ public class CascadingActions {
/**
* @see org.hibernate.Session#lock(Object, LockMode)
*
* @deprecated because {@link org.hibernate.annotations.CascadeType#LOCK}
* is deprecated
*/
@Deprecated(since="7", forRemoval = true)
public static final CascadingAction<LockOptions> LOCK = new BaseCascadingAction<>() {
@Override
public void cascade(