Package org.hibernate.annotations
Annotation Type AnyKeyJavaClass
-
@Target({METHOD,FIELD,ANNOTATION_TYPE}) @Retention(RUNTIME) public @interface AnyKeyJavaClass
Specifies the Java class to use for the foreign key handling related to anAny
mapping.The specified class is resolved to a
BasicJavaType
via theJavaTypeRegistry
.- Since:
- 6.0
- See Also:
Any
,AnyKeyJavaType
-
-
Element Detail
-
value
Class<?> value
The Java Class
-
-