Package org.hibernate.annotations
Annotation Type Struct
-
@Target({TYPE,FIELD,METHOD}) @Retention(RUNTIME) public @interface Struct
Specifies the UDT (user defined type) name for the annotated embeddable or embedded.Example:@EmbeddableStruct(name = "CUST")public class Customer { ... }Example: public class Order {EmbeddedStruct(name = "CUST")private Customer customer; }- Since:
- 6.2
-
-
Element Detail
-
name
String name
The name of the UDT (user defined type).
-
-