HHH-14935 Revert deprecation of org.hibernate.annotations.Type, TypeDef and TypeDefs
This commit is contained in:
parent
ab808954a2
commit
8d1027f967
|
@ -24,12 +24,9 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
|||
*
|
||||
* @author Emmanuel Bernard
|
||||
* @author Steve Ebersole
|
||||
*
|
||||
* @deprecated 6.0 will introduce a new type-safe {@code CustomType} annotation
|
||||
*/
|
||||
@Target({FIELD, METHOD})
|
||||
@Retention(RUNTIME)
|
||||
@Deprecated
|
||||
public @interface Type {
|
||||
/**
|
||||
* The Hibernate type name. Usually the fully qualified name of an implementation class for
|
||||
|
|
|
@ -28,13 +28,10 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
|||
*
|
||||
* @author Emmanuel Bernard
|
||||
* @author Steve Ebersole
|
||||
*
|
||||
* @deprecated 6.0 will introduce a new series of type-safe annotations to serve the same purpose
|
||||
*/
|
||||
@Target({TYPE, PACKAGE})
|
||||
@Retention(RUNTIME)
|
||||
@Repeatable(TypeDefs.class)
|
||||
@Deprecated
|
||||
public @interface TypeDef {
|
||||
/**
|
||||
* The type name. This is the name that would be used in other locations.
|
||||
|
|
|
@ -18,12 +18,9 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
|||
*
|
||||
* @author Emmanuel Bernard
|
||||
* @author Steve Ebersole
|
||||
*
|
||||
* @deprecated 6.0 will introduce a new series of type-safe annotations to serve the same purpose
|
||||
*/
|
||||
@Target({TYPE, PACKAGE})
|
||||
@Retention(RUNTIME)
|
||||
@Deprecated
|
||||
public @interface TypeDefs {
|
||||
/**
|
||||
* The grouping of type definitions.
|
||||
|
|
Loading…
Reference in New Issue