Package org.hibernate.annotations
Annotation Type ManyToAny
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description jakarta.persistence.FetchType
fetch
Specifies whether the value of the field or property should be fetched lazily or eagerly:FetchType.EAGER
, the default, requires that the association be fetched immediately, butFetchType.LAZY
is a hint which has no effect unless bytecode enhancement is enabled.
-
-
-
Element Detail
-
fetch
jakarta.persistence.FetchType fetch
Specifies whether the value of the field or property should be fetched lazily or eagerly:FetchType.EAGER
, the default, requires that the association be fetched immediately, butFetchType.LAZY
is a hint which has no effect unless bytecode enhancement is enabled.
- Default:
- jakarta.persistence.FetchType.EAGER
-
-