Package org.hibernate.collection.spi
package org.hibernate.collection.spi
This package defines the SPI of a framework for lazy-initializing
and state-tracking collection wrappers.
The interface PersistentCollection
and all its implementations belong to an SPI. They are not part of the
public API of Hibernate, and are not meant to be used directly by typical
programs which use Hibernate for persistence.
- See Also:
-
ClassDescriptionBase class implementing
PersistentCollection
Contract for operations which are part of a collection's operation queue.TBH not sure why this is publicFunctional contract to create aCollectionInitializer
.CollectionSemantics<CE,E> Each instance of this interface describes the semantics of some sort of persistent collection so that Hibernate understands how to manage the lifecycle of instances of that sort of collection.Resolve the collection semantics for the given mapped collection.The most general abstraction over collections which may be fetched lazily.Extension ofCollectionSemantics
for MapsA dummy collection wrapper for an array.An unordered, un-keyed collection that can contain the same element multiple times.Persistent collections are treated as value objects by Hibernate.An "identifier bag" implements "bag" semantics more efficiently than a regular bag by adding a synthetic identifier column to the table.A persistent wrapper for aList
.PersistentMap<K,E> A persistent wrapper for aMap
.A persistent wrapper for aSet
.PersistentSortedMap<K,E> A persistent wrapper for aSortedMap
.A persistent wrapper for aSortedSet
.