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

View File

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