Top Description Inners Methods
org.hibernate.annotations

public @Interface FetchProfile

extends Annotation
Annotations
@Target:TYPE, PACKAGE
@Retention:RUNTIME
@Repeatable:FetchProfiles
Imports
java.lang.annotation.Repeatable, .Retention, .Target

Define the fetching strategy profile.
Author
Hardy Ferentschik

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static @interface
FetchProfile.FetchOverride

Descriptor for a particular association override.

Method Summary

Modifier and TypeMethod and Description
public FetchProfile.FetchOverride[]
fetchOverrides()

The association fetch overrides.

public String
name()

The name of the fetch profile.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

fetchOverridesback to summary
public FetchProfile.FetchOverride[] fetchOverrides()

The association fetch overrides.

nameback to summary
public String name()

The name of the fetch profile.

org.hibernate.annotations back to summary

public @Interface FetchProfile.FetchOverride

extends Annotation
Annotations
@Target:TYPE, PACKAGE
@Retention:RUNTIME

Descriptor for a particular association override.

Method Summary

Modifier and TypeMethod and Description
public String
association()

The association whose fetch is being overridden.

public Class<?>
entity()

The entity containing the association whose fetch is being overridden.

public FetchMode
mode()

The fetch mode to apply to the association.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

associationback to summary
public String association()

The association whose fetch is being overridden.

entityback to summary
public Class<?> entity()

The entity containing the association whose fetch is being overridden.

modeback to summary
public FetchMode mode()

The fetch mode to apply to the association.