HHH-14935 Revert deprecation of org.hibernate.annotations.Type, TypeDef and TypeDefs

This commit is contained in:
Sanne Grinovero 2021-12-15 20:31:57 +00:00
parent ab808954a2
commit 8d1027f967
3 changed files with 0 additions and 9 deletions

View File

@ -24,12 +24,9 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* *
* @author Emmanuel Bernard * @author Emmanuel Bernard
* @author Steve Ebersole * @author Steve Ebersole
*
* @deprecated 6.0 will introduce a new type-safe {@code CustomType} annotation
*/ */
@Target({FIELD, METHOD}) @Target({FIELD, METHOD})
@Retention(RUNTIME) @Retention(RUNTIME)
@Deprecated
public @interface Type { public @interface Type {
/** /**
* The Hibernate type name. Usually the fully qualified name of an implementation class for * The Hibernate type name. Usually the fully qualified name of an implementation class for

View File

@ -28,13 +28,10 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* *
* @author Emmanuel Bernard * @author Emmanuel Bernard
* @author Steve Ebersole * @author Steve Ebersole
*
* @deprecated 6.0 will introduce a new series of type-safe annotations to serve the same purpose
*/ */
@Target({TYPE, PACKAGE}) @Target({TYPE, PACKAGE})
@Retention(RUNTIME) @Retention(RUNTIME)
@Repeatable(TypeDefs.class) @Repeatable(TypeDefs.class)
@Deprecated
public @interface TypeDef { public @interface TypeDef {
/** /**
* The type name. This is the name that would be used in other locations. * The type name. This is the name that would be used in other locations.

View File

@ -18,12 +18,9 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* *
* @author Emmanuel Bernard * @author Emmanuel Bernard
* @author Steve Ebersole * @author Steve Ebersole
*
* @deprecated 6.0 will introduce a new series of type-safe annotations to serve the same purpose
*/ */
@Target({TYPE, PACKAGE}) @Target({TYPE, PACKAGE})
@Retention(RUNTIME) @Retention(RUNTIME)
@Deprecated
public @interface TypeDefs { public @interface TypeDefs {
/** /**
* The grouping of type definitions. * The grouping of type definitions.