deprecate @SelectBeforeUpdate

since it's only useful with other already-deprecated functionality
This commit is contained in:
Gavin King 2022-10-01 13:05:55 +02:00
parent 6e94b35ee1
commit 1ff2b4e176
1 changed files with 3 additions and 0 deletions

View File

@ -17,10 +17,13 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* should be fetched from the database when the entity is reattached using
* {@link org.hibernate.Session#update(Object)}.
*
* @deprecated Since {@link org.hibernate.Session#update(Object)} is deprecated
*
* @author Steve Ebersole
*/
@Target( TYPE )
@Retention( RUNTIME )
@Deprecated(since = "6.2")
public @interface SelectBeforeUpdate {
/**
* @deprecated When {@code false}, this annotation has no effect.