java.lang.Object | |
↳ | org.hibernate.mapping.FetchProfile |
A fetch profile allows a user to dynamically modify the fetching strategy used for particular associations at runtime, whereas that information was historically only statically defined in the metadata.
This class represent the data as it is defined in their metadata.Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FetchProfile.Fetch | Defines an individual association fetch within the given profile. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a fetch profile representation.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a fetch to this profile.
| |||||||||||
Retrieve the fetches associated with this profile
| |||||||||||
Retrieve the name of the fetch profile.
| |||||||||||
Retrieve the fetch profile source.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a fetch profile representation.
name | The name of the fetch profile. |
---|---|
source | The source of the fetch profile (where was it defined). |
Adds a fetch to this profile.
entity | The entity which contains the association to be fetched |
---|---|
association | The association to fetch |
style | The style of fetch t apply |
Retrieve the fetches associated with this profile