| java.lang.Object | |
| ↳ | org.hibernate.engine.loading.CollectionLoadContext |
Represents state associated with the processing of a given ResultSet in regards to loading collections.
Another implementation option to consider is to not exposeResultSets
directly (in the JDBC redesign) but to always "wrap" them and apply a
[series of] context[s] to that wrapper.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a collection load context for the given result set.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Finish the process of collection-loading for this bound result set.
| |||||||||||
Retrieve the collection that is being loaded as part of processing this
result set.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a collection load context for the given result set.
| loadContexts | Callback to other collection load contexts. |
|---|---|
| resultSet | The result set this is "wrapping". |
Finish the process of collection-loading for this bound result set. Mainly this involves cleaning up resources and notifying the collections that loading is complete.
| persister | The persister for which to complete loading. |
|---|
Retrieve the collection that is being loaded as part of processing this result set.
Basically, there are two valid return values from this method:PersistentCollection which indicates to
continue loading the result set row data into that returned collection
instance; this may be either an instance already associated and in the
midst of being loaded, or a newly instantiated instance as a matching
associated collection was not found.| persister | The persister for the collection being requested. |
|---|---|
| key | The key of the collection being requested. |