add forRemoval=true in two places
This commit is contained in:
parent
c8e4fead2c
commit
399a1d0071
|
@ -4,7 +4,6 @@
|
||||||
*/
|
*/
|
||||||
package org.hibernate.annotations;
|
package org.hibernate.annotations;
|
||||||
|
|
||||||
import org.hibernate.Remove;
|
|
||||||
import org.hibernate.generator.internal.SourceGeneration;
|
import org.hibernate.generator.internal.SourceGeneration;
|
||||||
|
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
|
@ -42,7 +41,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||||
*
|
*
|
||||||
* @deprecated use {@link CurrentTimestamp} instead
|
* @deprecated use {@link CurrentTimestamp} instead
|
||||||
*/
|
*/
|
||||||
@Deprecated(since = "6.2") @Remove
|
@Deprecated(since = "6.2", forRemoval = true)
|
||||||
@Target({ METHOD, FIELD })
|
@Target({ METHOD, FIELD })
|
||||||
@Retention(RUNTIME)
|
@Retention(RUNTIME)
|
||||||
@ValueGenerationType(generatedBy = SourceGeneration.class)
|
@ValueGenerationType(generatedBy = SourceGeneration.class)
|
||||||
|
|
|
@ -21,7 +21,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||||
* annotations, for example,
|
* annotations, for example,
|
||||||
* {@link jakarta.persistence.OneToMany#targetEntity()}
|
* {@link jakarta.persistence.OneToMany#targetEntity()}
|
||||||
*/
|
*/
|
||||||
@Deprecated(since = "6.2")
|
@Deprecated(since = "6.2", forRemoval = true)
|
||||||
@java.lang.annotation.Target({FIELD, METHOD})
|
@java.lang.annotation.Target({FIELD, METHOD})
|
||||||
@Retention(RUNTIME)
|
@Retention(RUNTIME)
|
||||||
public @interface Target {
|
public @interface Target {
|
||||||
|
|
Loading…
Reference in New Issue