Uses of Interface
org.hibernate.persister.collection.CollectionPersister
-
-
Uses of CollectionPersister in org.hibernate.cache.spi
Methods in org.hibernate.cache.spi with parameters of type CollectionPersister Modifier and Type Method Description java.lang.ObjectCacheKeysFactory. createCollectionKey(java.lang.Object id, CollectionPersister persister, SessionFactoryImplementor factory, java.lang.String tenantIdentifier) -
Uses of CollectionPersister in org.hibernate.cache.spi.access
Methods in org.hibernate.cache.spi.access with parameters of type CollectionPersister Modifier and Type Method Description java.lang.ObjectCollectionDataAccess. generateCacheKey(java.lang.Object id, CollectionPersister collectionDescriptor, SessionFactoryImplementor factory, java.lang.String tenantIdentifier)To create instances of CollectionCacheKey for this region, Hibernate will invoke this method exclusively so that generated implementations can generate optimised keys. -
Uses of CollectionPersister in org.hibernate.cache.spi.entry
Methods in org.hibernate.cache.spi.entry with parameters of type CollectionPersister Modifier and Type Method Description voidCollectionCacheEntry. assemble(PersistentCollection collection, CollectionPersister persister, java.lang.Object owner)Assembles the collection from the cached state.Constructors in org.hibernate.cache.spi.entry with parameters of type CollectionPersister Constructor Description CollectionCacheEntry(PersistentCollection collection, CollectionPersister persister)Constructs a CollectionCacheEntry -
Uses of CollectionPersister in org.hibernate.cache.spi.support
Methods in org.hibernate.cache.spi.support with parameters of type CollectionPersister Modifier and Type Method Description java.lang.ObjectAbstractCollectionDataAccess. generateCacheKey(java.lang.Object id, CollectionPersister persister, SessionFactoryImplementor factory, java.lang.String tenantIdentifier)java.lang.ObjectCollectionReadWriteAccess. generateCacheKey(java.lang.Object id, CollectionPersister collectionDescriptor, SessionFactoryImplementor factory, java.lang.String tenantIdentifier) -
Uses of CollectionPersister in org.hibernate.collection.spi
Methods in org.hibernate.collection.spi with parameters of type CollectionPersister Modifier and Type Method Description voidPersistentCollection. afterRowInsert(CollectionPersister persister, java.lang.Object entry, int i)Called after inserting a row, to fetch the natively generated idvoidPersistentCollection. beforeInitialize(CollectionPersister persister, int anticipatedSize)Called before any elements are read into the collection, allowing appropriate initializations to occur.java.io.SerializablePersistentCollection. disassemble(CollectionPersister persister)Disassemble the collection to get it ready for the cachejava.util.IteratorPersistentCollection. entries(CollectionPersister persister)Iterate all collection entries, during update of the databasebooleanPersistentCollection. equalsSnapshot(CollectionPersister persister)Does the current state exactly match the snapshot?java.util.IteratorPersistentCollection. getDeletes(CollectionPersister persister, boolean indexIsFormula)Get all the elements that need deletingjava.lang.ObjectPersistentCollection. getIndex(java.lang.Object entry, int i, CollectionPersister persister)Get the index of the given collection entryjava.io.SerializablePersistentCollection. getSnapshot(CollectionPersister persister)Return a new snapshot of the current state of the collectionvoidPersistentCollection. initializeFromCache(CollectionPersister persister, java.io.Serializable disassembled, java.lang.Object owner)Read the state of the collection from a disassembled cached valuebooleanPersistentCollection. needsRecreate(CollectionPersister persister)Do we need to completely recreate this collection when it changes?voidPersistentCollection. preInsert(CollectionPersister persister)Called before inserting rows, to ensure that any surrogate keys are fully generatedjava.lang.ObjectPersistentCollection. readFrom(java.sql.ResultSet rs, CollectionPersister role, CollectionAliases descriptor, java.lang.Object owner)Read a row from the JDBC result set -
Uses of CollectionPersister in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return CollectionPersister Modifier and Type Method Description CollectionPersisterSessionFactoryDelegatingImpl. getCollectionPersister(java.lang.String role)default CollectionPersisterSessionFactoryImplementor. getCollectionPersister(java.lang.String role)Deprecated.(since 5.2) UseMetamodelImplementor.collectionPersister(String)instead.CollectionPersisterCollectionEntry. getCurrentPersister()CollectionPersisterCollectionEntry. getLoadedPersister()This is only available late during the flush cycleMethods in org.hibernate.engine.spi that return types with arguments of type CollectionPersister Modifier and Type Method Description java.util.Map<java.lang.String,CollectionPersister>SessionFactoryDelegatingImpl. getCollectionPersisters()default java.util.Map<java.lang.String,CollectionPersister>SessionFactoryImplementor. getCollectionPersisters()Deprecated.(since 5.2) UseMetamodelImplementor.collectionPersisters()instead.Methods in org.hibernate.engine.spi with parameters of type CollectionPersister Modifier and Type Method Description CollectionEntryPersistenceContext. addInitializedCollection(CollectionPersister persister, PersistentCollection collection, java.io.Serializable id)add a collection we just pulled out of the cache (does not need initializing)voidPersistenceContext. addInitializedDetachedCollection(CollectionPersister collectionPersister, PersistentCollection collection)add an (initialized) collection that was created by another session and passed into update() (ie.voidPersistenceContext. addNewCollection(CollectionPersister persister, PersistentCollection collection)Add a new collection (ie.voidPersistenceContext. addUninitializedCollection(CollectionPersister persister, PersistentCollection collection, java.io.Serializable id)add a collection we just loaded up (still needs initializing)voidPersistenceContext. addUninitializedDetachedCollection(CollectionPersister persister, PersistentCollection collection)add a detached uninitialized collectionjava.io.Serializable[]BatchFetchQueue. getCollectionBatch(CollectionPersister collectionPersister, java.io.Serializable id, int batchSize)Get a batch of uninitialized collection keys for a given rolejava.lang.ObjectPersistenceContext. getCollectionOwner(java.io.Serializable key, CollectionPersister collectionPersister)Get the entity that owns this persistent collectionvoidCollectionEntry. setCurrentPersister(CollectionPersister currentPersister)Constructors in org.hibernate.engine.spi with parameters of type CollectionPersister Constructor Description CollectionEntry(PersistentCollection collection, CollectionPersister loadedPersister, java.io.Serializable loadedKey, boolean ignore)For collections just loaded from the databaseCollectionEntry(CollectionPersister loadedPersister, java.io.Serializable loadedKey)For uninitialized detached collectionsCollectionEntry(CollectionPersister persister, PersistentCollection collection)For newly wrapped collections, or dereferenced collection wrappersCollectionKey(CollectionPersister persister, java.io.Serializable key)CollectionKey(CollectionPersister persister, java.io.Serializable key, EntityMode em)Deprecated. -
Uses of CollectionPersister in org.hibernate.event.spi
Methods in org.hibernate.event.spi that return CollectionPersister Modifier and Type Method Description protected static CollectionPersisterAbstractCollectionEvent. getLoadedCollectionPersister(PersistentCollection collection, EventSource source)Methods in org.hibernate.event.spi with parameters of type CollectionPersister Modifier and Type Method Description protected static java.lang.StringAbstractCollectionEvent. getAffectedOwnerEntityName(CollectionPersister collectionPersister, java.lang.Object affectedOwner, EventSource source) -
Uses of CollectionPersister in org.hibernate.loader
Fields in org.hibernate.loader declared as CollectionPersister Modifier and Type Field Description protected CollectionPersister[]JoinWalker. collectionPersistersprotected CollectionPersister[]OuterJoinLoader. collectionPersistersMethods in org.hibernate.loader that return CollectionPersister Modifier and Type Method Description CollectionPersister[]JoinWalker. getCollectionPersisters()protected CollectionPersister[]Loader. getCollectionPersisters()An (optional) persister for a collection to be initialized; only collection loaders return a non-null valueCollectionPersister[]OuterJoinLoader. getCollectionPersisters()Methods in org.hibernate.loader with parameters of type CollectionPersister Modifier and Type Method Description protected voidLoader. endCollectionLoad(java.lang.Object resultSetId, SharedSessionContractImplementor session, CollectionPersister collectionPersister)voidJoinWalker. setCollectionPersisters(CollectionPersister[] collectionPersisters)Constructors in org.hibernate.loader with parameters of type CollectionPersister Constructor Description GeneratedCollectionAliases(java.util.Map userProvidedAliases, CollectionPersister persister, java.lang.String suffix)GeneratedCollectionAliases(CollectionPersister persister, java.lang.String string) -
Uses of CollectionPersister in org.hibernate.loader.collection
Methods in org.hibernate.loader.collection that return CollectionPersister Modifier and Type Method Description CollectionPersisterBatchingCollectionInitializer. getCollectionPersister() -
Uses of CollectionPersister in org.hibernate.loader.collection.plan
Methods in org.hibernate.loader.collection.plan that return CollectionPersister Modifier and Type Method Description CollectionPersisterBatchingCollectionInitializer. getCollectionPersister() -
Uses of CollectionPersister in org.hibernate.loader.custom
Methods in org.hibernate.loader.custom that return CollectionPersister Modifier and Type Method Description protected CollectionPersister[]CustomLoader. getCollectionPersisters() -
Uses of CollectionPersister in org.hibernate.loader.hql
Methods in org.hibernate.loader.hql that return CollectionPersister Modifier and Type Method Description protected CollectionPersister[]QueryLoader. getCollectionPersisters()An (optional) persister for a collection to be initialized; only collection loaders return a non-null value -
Uses of CollectionPersister in org.hibernate.loader.plan.build.spi
Methods in org.hibernate.loader.plan.build.spi with parameters of type CollectionPersister Modifier and Type Method Description static LoadPlanMetamodelDrivenLoadPlanBuilder. buildRootCollectionLoadPlan(LoadPlanBuildingAssociationVisitationStrategy strategy, CollectionPersister persister)Coordinates building a LoadPlan that defines just a single root collection return (may have fetches).ExpandingCollectionQuerySpaceExpandingQuerySpaces. makeCollectionQuerySpace(java.lang.String uid, CollectionPersister collectionPersister, boolean canJoinsBeRequired)Create anExpandingCollectionQuerySpacefor a collection (that is not a "return") with the specified unique ID.ExpandingCollectionQuerySpaceExpandingQuerySpaces. makeRootCollectionQuerySpace(java.lang.String uid, CollectionPersister collectionPersister)Create anExpandingCollectionQuerySpacefor a collection "return" with the specified unique ID. -
Uses of CollectionPersister in org.hibernate.loader.plan.spi
Methods in org.hibernate.loader.plan.spi that return CollectionPersister Modifier and Type Method Description CollectionPersisterCollectionQuerySpace. getCollectionPersister()Retrieve the collection persister this QuerySpace refers to.CollectionPersisterCollectionReference. getCollectionPersister()Retrieves the CollectionPersister describing the collection associated with this CollectionReference. -
Uses of CollectionPersister in org.hibernate.metamodel.spi
Methods in org.hibernate.metamodel.spi that return CollectionPersister Modifier and Type Method Description CollectionPersisterMetamodelImplementor. collectionPersister(java.lang.String role)Get the persister object for a collection role.Methods in org.hibernate.metamodel.spi that return types with arguments of type CollectionPersister Modifier and Type Method Description java.util.Map<java.lang.String,CollectionPersister>MetamodelImplementor. collectionPersisters()Get all collection persisters as a Map, which collection role as the key and the persister is the value. -
Uses of CollectionPersister in org.hibernate.persister.collection
Subinterfaces of CollectionPersister in org.hibernate.persister.collection Modifier and Type Interface Description interfaceQueryableCollectionA collection role that may be queried or loaded by outer join.interfaceSQLLoadableCollectionClasses in org.hibernate.persister.collection that implement CollectionPersister Modifier and Type Class Description classAbstractCollectionPersisterBase implementation of the QueryableCollection interface.classBasicCollectionPersisterCollection persister for collections of values and many-to-many associations.classOneToManyPersisterCollection persister for one-to-many associations.Methods in org.hibernate.persister.collection that return CollectionPersister Modifier and Type Method Description CollectionPersisterAbstractCollectionPersister. getCollectionPersister()Constructors in org.hibernate.persister.collection with parameters of type CollectionPersister Constructor Description NamedQueryCollectionInitializer(java.lang.String queryName, CollectionPersister persister) -
Uses of CollectionPersister in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type CollectionPersister Modifier and Type Method Description protected java.io.SerializableAbstractEntityPersister. getCollectionKey(CollectionPersister persister, java.lang.Object owner, EntityEntry ownerEntry, SharedSessionContractImplementor session) -
Uses of CollectionPersister in org.hibernate.persister.spi
Methods in org.hibernate.persister.spi that return CollectionPersister Modifier and Type Method Description CollectionPersisterPersisterFactory. createCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)Create a collection persister instance.Methods in org.hibernate.persister.spi that return types with arguments of type CollectionPersister Modifier and Type Method Description java.lang.Class<? extends CollectionPersister>PersisterClassResolver. getCollectionPersisterClass(Collection metadata)Returns the collection persister class for a given collection role or null if the collection persister class should be the default. -
Uses of CollectionPersister in org.hibernate.persister.walking.spi
Methods in org.hibernate.persister.walking.spi that return CollectionPersister Modifier and Type Method Description CollectionPersisterCollectionDefinition. getCollectionPersister()Methods in org.hibernate.persister.walking.spi with parameters of type CollectionPersister Modifier and Type Method Description static voidMetamodelGraphWalker. visitCollection(AssociationVisitationStrategy strategy, CollectionPersister persister)Entry point into walking the model graph of a collection according to its defined metamodel. -
Uses of CollectionPersister in org.hibernate.pretty
Methods in org.hibernate.pretty with parameters of type CollectionPersister Modifier and Type Method Description static java.lang.StringMessageHelper. collectionInfoString(CollectionPersister persister, java.io.Serializable[] ids, SessionFactoryImplementor factory)Generate an info message string relating to a series of managed collections.static java.lang.StringMessageHelper. collectionInfoString(CollectionPersister persister, java.io.Serializable id, SessionFactoryImplementor factory)Generate an info message string relating to a particular managed collection.static java.lang.StringMessageHelper. collectionInfoString(CollectionPersister persister, PersistentCollection collection, java.io.Serializable collectionKey, SharedSessionContractImplementor session)Generate an info message string relating to a particular managed collection. -
Uses of CollectionPersister in org.hibernate.type
-
Uses of CollectionPersister in org.hibernate.usertype
Methods in org.hibernate.usertype with parameters of type CollectionPersister Modifier and Type Method Description PersistentCollectionUserCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister)Instantiate an uninitialized instance of the collection wrapperjava.lang.ObjectUserCollectionType. replaceElements(java.lang.Object original, java.lang.Object target, CollectionPersister persister, java.lang.Object owner, java.util.Map copyCache, SharedSessionContractImplementor session)Replace the elements of a collection with the elements of another collection
-