Uses of Class
org.hibernate.engine.spi.CollectionKey
Packages that use CollectionKey
Package
Description
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
SPI for execution of SQL statements via JDBC.
-
Uses of CollectionKey in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return CollectionKeyModifier and TypeMethodDescriptionstatic CollectionKey
CollectionKey.deserialize
(ObjectInputStream ois, SessionImplementor session) Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance.Methods in org.hibernate.engine.spi that return types with arguments of type CollectionKeyModifier and TypeMethodDescriptionPersistenceContext.getCollectionsByKey()
Deprecated.this method should be removed; alternative methods are available that better express the intent, allowing for better optimisations.Methods in org.hibernate.engine.spi with parameters of type CollectionKeyModifier and TypeMethodDescriptionPersistenceContext.addCollectionByKey
(CollectionKey collectionKey, PersistentCollection<?> persistentCollection) Adds a collection in the collections-by-key map.PersistenceContext.getCollection
(CollectionKey collectionKey) Get the collection instance associated with theCollectionKey
void
PersistenceContext.removeCollectionByKey
(CollectionKey collectionKey) Remove a collection-by-key mapping.PersistenceContext.useUnownedCollection
(CollectionKey key) Take ownership of a previously unowned collection, if one. -
Uses of CollectionKey in org.hibernate.sql.exec.spi
Methods in org.hibernate.sql.exec.spi that return CollectionKeyModifier and TypeMethodDescriptionLoadedValuesCollector.LoadedCollectionRegistration.collectionKey()
Returns the value of thecollectionKey
record component.default CollectionKey
ExecutionContext.getCollectionKey()
Get the collection key for the collection which is to be loaded immediately.Methods in org.hibernate.sql.exec.spi with parameters of type CollectionKeyModifier and TypeMethodDescriptionvoid
LoadedValuesCollector.registerCollection
(NavigablePath navigablePath, PluralAttributeMapping collectionDescriptor, CollectionKey collectionKey) Register a loading collection.Constructors in org.hibernate.sql.exec.spi with parameters of type CollectionKeyModifierConstructorDescriptionLoadedCollectionRegistration
(NavigablePath navigablePath, PluralAttributeMapping collectionDescriptor, CollectionKey collectionKey) Creates an instance of aLoadedCollectionRegistration
record class. -
Uses of CollectionKey in org.hibernate.sql.results.jdbc.spi
Methods in org.hibernate.sql.results.jdbc.spi with parameters of type CollectionKeyModifier and TypeMethodDescriptionJdbcValuesSourceProcessingState.findLoadingCollectionLocally
(CollectionKey key) Find a LoadingCollectionEntry locally to this context.void
JdbcValuesSourceProcessingState.registerLoadingCollection
(CollectionKey collectionKey, LoadingCollectionEntry loadingCollectionEntry) Registers a LoadingCollectionEntry locally to this context -
Uses of CollectionKey in org.hibernate.sql.results.spi
Methods in org.hibernate.sql.results.spi with parameters of type CollectionKeyModifier and TypeMethodDescriptionLoadContexts.findLoadingCollectionEntry
(CollectionKey collectionKey)