Package org.hibernate.annotations
Annotation Type FetchProfile.FetchOverride
-
@Target({TYPE,PACKAGE}) @Retention(RUNTIME) public static @interface FetchProfile.FetchOverride
Overrides the fetching strategy pf a particular association in the named fetch profile being defined.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description String
association
The association whose default fetch strategy is being overridden.Class<?>
entity
The entity containing the association whose default fetch strategy is being overridden.FetchMode
mode
The fetching strategy to apply to the association in the fetch profile being defined.
-
-
-
Element Detail
-
entity
Class<?> entity
The entity containing the association whose default fetch strategy is being overridden.
-
-
-
association
String association
The association whose default fetch strategy is being overridden.
-
-
-
mode
FetchMode mode
The fetching strategy to apply to the association in the fetch profile being defined.
-
-