java.lang.Object | |
↳ | org.hibernate.engine.profile.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 defines the runtime representation of this data.Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A 'fetch profile' is uniquely named within a
SessionFactory , thus it is also
uniquely and easily identifiable within that
SessionFactory . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a fetch to the profile.
| |||||||||||
Add a fetch to the profile.
| |||||||||||
Add a fetch to the profile.
| |||||||||||
Getter for property 'fetches'.
| |||||||||||
Getter for property 'name'.
| |||||||||||
Getter for property 'containsJoinFetchedBag', which flags whether this
fetch profile contained any bag join fetches
| |||||||||||
Getter for property 'containsJoinFetchedCollection', which flags whether
this fetch profile contained any collection join fetches.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
A 'fetch profile' is uniquely named within a
SessionFactory
, thus it is also
uniquely and easily identifiable within that
SessionFactory
.
name | The name under which we are bound in the sessionFactory |
---|
Add a fetch to the profile.
association | The association to be fetched |
---|---|
fetchStyleName | The name of the fetch style to apply |
Add a fetch to the profile.
association | The association to be fetched |
---|---|
style | The style to apply |
Getter for property 'fetches'. Map of Fetch
instances, keyed by association role
Getter for property 'containsJoinFetchedBag', which flags whether this fetch profile contained any bag join fetches
Getter for property 'containsJoinFetchedCollection', which flags whether this fetch profile contained any collection join fetches.