Skip to content

Commit

Permalink
HHH-14935 Revert deprecation of org.hibernate.annotations.Type, TypeD…
Browse files Browse the repository at this point in the history
…ef and TypeDefs
  • Loading branch information
Sanne committed Dec 15, 2021
1 parent ab80895 commit 8d1027f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@
*
* @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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,10 @@
*
* @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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@
*
* @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.
Expand Down

0 comments on commit 8d1027f

Please sign in to comment.