Package org.hibernate.annotations
Annotation Interface Target
@Deprecated(since="6.2",
forRemoval=true)
@Target({FIELD,METHOD})
@Retention(RUNTIME)
public @interface Target
Deprecated, for removal: This API element is subject to removal in a future version.
Explicitly specifies the target entity type in an association,
avoiding reflection and generics resolution. This annotation is
almost never useful.
-
Required Element Summary
Required Elements
-
Element Details
-
value
Class<?> valueDeprecated, for removal: This API element is subject to removal in a future version.The target entity type.
-
OneToMany.targetEntity()