Class AbstractCollectionPersister
java.lang.Object
org.hibernate.persister.collection.AbstractCollectionPersister
- All Implemented Interfaces:
FetchProfileAffectee,FilterRestrictable,InFlightCollectionMapping,PluralAttributeMappingImpl.Aware,Restrictable,WhereRestrictable,CollectionPersister,CollectionMutationTarget,Joinable,MutationTarget<CollectionTableMapping>
- Direct Known Subclasses:
BasicCollectionPersister,OneToManyPersister
@Internal
public abstract class AbstractCollectionPersister
extends Object
implements CollectionPersister, InFlightCollectionMapping, CollectionMutationTarget, PluralAttributeMappingImpl.Aware, FetchProfileAffectee, Joinable
Base implementation of the
QueryableCollection interface.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intprotected final String[]Deprecated.protected final boolean[]protected final boolean[]protected final String[]protected final String[]protected final String[]protected final String[]protected final String[]protected final String[]protected final booleanprotected final TypeDeprecated.protected booleanprotected final Stringprotected final String[]Deprecated.protected final boolean[]protected final boolean[]protected final String[]protected final booleanprotected final String[]protected final String[]protected final booleanprotected final String[]Deprecated.protected final String[]protected final Stringprotected final SqlExceptionHelperprotected String -
Constructor Summary
ConstructorsConstructorDescriptionAbstractCollectionPersister(Collection collectionBootDescriptor, @Nullable CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyBaseManyToManyRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) voidapplyBaseRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) Applies the base set of restrictions.voidapplyBaseRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) Applies the base set of restrictions.voidapplyFilterRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, SqlAstCreationState creationState) Applies just theFiltervalues enabled for the associated entityprotected voidapplyKeyRestrictions(MutatingTableReference tableReference, ColumnValueParameterList parameterList, List<ColumnValueBinding> restrictionBindings) protected voidapplyWhereFragments(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState astCreationState) voidapplyWhereRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, SqlAstCreationState creationState) Apply theSQLRestrictionrestrictionsprotected JdbcMutationOperationbuildDeleteAllOperation(MutatingTableReference tableReference) protected CollectionLoadercreateNamedQueryCollectionLoader(CollectionPersister persister, NamedQueryMemento<?> namedQueryMemento) For Hibernate Reactiveprotected CollectionLoadercreateSingleKeyCollectionLoader(LoadQueryInfluencers loadQueryInfluencers) For Hibernate Reactiveprotected CollectionLoadercreateSubSelectLoader(SubselectFetch subselect, SharedSessionContractImplementor session) protected CollectionLoaderdetermineLoaderToUse(Object key, SharedSessionContractImplementor session) protected StringdetermineTableName(Table table) protected abstract voiddoProcessQueuedOps(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session) booleanelementExists(Object key, Object element, SharedSessionContractImplementor session) voidforEachMutableTable(Consumer<CollectionTableMapping> consumer) Visit each table.voidSame asMutationTarget.forEachMutableTable(java.util.function.Consumer<T>)except that here the tables are visited in reverse ordergenerateDeleteAllAst(MutatingTableReference tableReference) protected Stringprotected Stringprotected StringgenerateSelectSizeString(boolean isIntegerIndexed) intAccess to the collection's cache regionGet the structure used to store data into the collection's cache regionString[]getCollectionPropertyColumnAliases(String propertyName, String suffix) CollectionSemantics<?, ?> String[]Get the "space" that holds the persistent stateGet the associatedTypeprotected DialectgetElementByIndex(Object key, Object index, SharedSessionContractImplementor session, Object owner) Class<?> Return the element class of an array, or null otherwise.String[]getElementColumnAliases(String suffix) Generates the collection's element column aliases, based on the given suffix.String[]Get the persister of the element class, if this is a collection of entities (optional operation).protected EntityPersisterGet the "element" typeabstract FilterAliasGeneratorgetFilterAliasGenerator(String rootAlias) abstract FilterAliasGeneratorgetFilterAliasGenerator(TableGroup tableGroup) Get the surrogate key generation strategy (optional operation)getIdentifierColumnAlias(String suffix) Generates the collection's identifier column aliases, based on the given suffix.Deprecated.The name of the table defining the identifier for this targetGet the type of the surrogate keyString[]getIndexColumnAliases(String suffix) Generates the collection's index column aliases, based on the given suffix.String[]Get the "index" type for a list or map (optional operation)String[]getKeyColumnAliases(String suffix) Generates the collection's key column aliases, based on the given suffix.String[]Get the "key" type (the type of the foreign key)getManyToManyFilterFragment(TableGroup tableGroup, Map<String, Filter> enabledFilters) The NavigableRole for this collection.Get the persister of the entity that "owns" this collectionprotected abstract RemoveCoordinatorprotected abstract RowMutationOperationsintgetSize(Object key, SharedSessionContractImplementor session) Comparator<?> For sorted collections, the comparator to use.protected SqlExceptionHelperThe ModelPart describing the mutation targetbooleanhasCache()Is this collection role cacheablebooleanhasIndex()Is this an "indexed" collection? (list or map)booleanbooleanIs this an ordered collection? (An ordered collection is ordered by the initialization operation, not by sorting that happens in memory, as in the case of a sorted collection.)booleanDoes this collection implement "orphan delete"?booleanWhether the collection has at least one physical index columnbooleanDoes this restrictable have a where restriction?protected ObjectincrementIndexByBase(Object index) booleanindexExists(Object key, Object index, SharedSessionContractImplementor session) voidvoidinitialize(Object key, SharedSessionContractImplementor session) Initialize the given collection with the given keyvoidinjectAttributeMapping(PluralAttributeMapping attributeMapping) Allows injection of the corresponding plural-attribute mapping.booleanisAffectedByEnabledFetchProfiles(LoadQueryInfluencers influencers) booleanisAffectedByEnabledFilters(Set<ManagedMappingType> visitedTypes, LoadQueryInfluencers influencers, boolean onlyApplyForLoadByKeyFilters) booleanisAffectedByEnabledFilters(LoadQueryInfluencers influencers) booleanisAffectedByEnabledFilters(LoadQueryInfluencers influencers, boolean onlyApplyForLoadByKeyFilters) booleanbooleanisAffectedByEntityGraph(LoadQueryInfluencers influencers) booleanisArray()Is this an array?booleanIs cascade delete handled by the database-level foreign key constraint definition?booleanbooleanIs this collection "inverse", so state changes are not propagated to the database.booleanisLazy()Is this collection lazily initialized?abstract booleanIs this a many-to-many association? Note that this is mainly a convenience feature as the single persister does not contain all the information needed to handle a many-to-many itself, as internally it is looked at as two many-to-ones.booleanCan the elements of this collection change?booleanIs this an array of primitive values?protected booleanprotected booleanbooleanbooleanDoes this collection cause version increment of the owning entity?protected voidbooleanWhetherCollectionPersister.remove(Object, SharedSessionContractImplementor)might actually do something, or if it is definitely a no-op.voidvoidprepareMappingModel(MappingModelCreationProcess creationProcess) After all hierarchy types have been linked, this method is called to allow the mapping model to be prepared which generally includes creating attribute mapping descriptors, identifier mapping descriptor, etc.voidprocessQueuedOps(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session) Process queued operations within the PersistentCollection.voidregisterAffectingFetchProfile(String fetchProfileName) Register the profile name with the entity/collectionvoidremove(Object id, SharedSessionContractImplementor session) Completely remove the persistent state of the collectionselectFragment(String alias, String columnSuffix) Generate a list of collection index, key and element columnstoString()booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.persister.collection.mutation.CollectionMutationTarget
getIdentifierTableMappingMethods inherited from interface org.hibernate.persister.collection.CollectionPersister
deleteRows, getRole, insertRows, isBatchLoadable, isOneToMany, recreate, updateRowsMethods inherited from interface org.hibernate.metamodel.mapping.FilterRestrictable
applyFilterRestrictionsMethods inherited from interface org.hibernate.sql.model.MutationTarget
getRolePath
-
Field Details
-
qualifiedTableName
-
hasWhere
protected boolean hasWhere -
sqlWhereString
-
indexContainsFormula
protected final boolean indexContainsFormula -
elementIsPureFormula
protected final boolean elementIsPureFormula -
keyColumnNames
-
indexColumnNames
-
indexFormulaTemplates
-
indexFormulas
-
indexColumnIsGettable
protected final boolean[] indexColumnIsGettable -
indexColumnIsSettable
protected final boolean[] indexColumnIsSettable -
elementColumnNames
-
elementColumnWriters
-
elementColumnReaders
-
elementColumnReaderTemplates
-
elementFormulaTemplates
-
elementFormulas
-
elementColumnIsGettable
protected final boolean[] elementColumnIsGettable -
elementColumnIsSettable
protected final boolean[] elementColumnIsSettable -
identifierColumnName
-
isInverse
protected final boolean isInverse -
batchSize
protected final int batchSize -
sqlExceptionHelper
-
elementType
Deprecated. -
keyColumnAliases
Deprecated. -
indexColumnAliases
Deprecated. -
elementColumnAliases
Deprecated.
-
-
Constructor Details
-
AbstractCollectionPersister
public AbstractCollectionPersister(Collection collectionBootDescriptor, @Nullable CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext) throws MappingException, CacheException - Throws:
MappingExceptionCacheException
-
-
Method Details
-
prepareMappingModel
Description copied from interface:InFlightCollectionMappingAfter all hierarchy types have been linked, this method is called to allow the mapping model to be prepared which generally includes creating attribute mapping descriptors, identifier mapping descriptor, etc.- Specified by:
prepareMappingModelin interfaceInFlightCollectionMapping
-
getSortingComparator
Description copied from interface:CollectionPersisterFor sorted collections, the comparator to use. Non-parameterized because for SORTED_SET the elements are compared but for SORTED_MAP the keys are compared- Specified by:
getSortingComparatorin interfaceCollectionPersister- See Also:
-
determineTableName
-
postInstantiate
- Specified by:
postInstantiatein interfaceCollectionPersister- Throws:
MappingException
-
logStaticSQL
protected void logStaticSQL() -
getCollectionLoader
-
createNamedQueryCollectionLoader
protected CollectionLoader createNamedQueryCollectionLoader(CollectionPersister persister, NamedQueryMemento<?> namedQueryMemento) For Hibernate Reactive -
createSingleKeyCollectionLoader
protected CollectionLoader createSingleKeyCollectionLoader(LoadQueryInfluencers loadQueryInfluencers) For Hibernate Reactive -
getCacheAccessStrategy
Description copied from interface:CollectionPersisterAccess to the collection's cache region- Specified by:
getCacheAccessStrategyin interfaceCollectionPersister
-
hasCache
public boolean hasCache()Description copied from interface:CollectionPersisterIs this collection role cacheable- Specified by:
hasCachein interfaceCollectionPersister
-
useShallowQueryCacheLayout
public boolean useShallowQueryCacheLayout()- Specified by:
useShallowQueryCacheLayoutin interfaceCollectionPersister
-
getRowMutationOperations
-
getRemoveCoordinator
-
hasOrdering
public boolean hasOrdering()Description copied from interface:CollectionPersisterIs this an ordered collection? (An ordered collection is ordered by the initialization operation, not by sorting that happens in memory, as in the case of a sorted collection.)- Specified by:
hasOrderingin interfaceCollectionPersister
-
hasManyToManyOrdering
public boolean hasManyToManyOrdering()- Specified by:
hasManyToManyOrderingin interfaceCollectionPersister
-
getElementClass
Return the element class of an array, or null otherwise. needed by arrays- Specified by:
getElementClassin interfaceCollectionPersister
-
incrementIndexByBase
-
isPrimitiveArray
public boolean isPrimitiveArray()Description copied from interface:CollectionPersisterIs this an array of primitive values?- Specified by:
isPrimitiveArrayin interfaceCollectionPersister
-
isArray
public boolean isArray()Description copied from interface:CollectionPersisterIs this an array?- Specified by:
isArrayin interfaceCollectionPersister
-
getIdentifierColumnName
- Specified by:
getIdentifierColumnNamein interfaceCollectionPersister
-
selectFragment
Generate a list of collection index, key and element columns- Specified by:
selectFragmentin interfaceCollectionPersister
-
generateSelectSizeString
-
generateDetectRowByIndexString
-
generateDetectRowByElementString
-
getIndexColumnNames
-
getElementColumnNames
-
getKeyColumnNames
-
hasIndex
public boolean hasIndex()Description copied from interface:CollectionPersisterIs this an "indexed" collection? (list or map)- Specified by:
hasIndexin interfaceCollectionPersister
-
isLazy
public boolean isLazy()Description copied from interface:CollectionPersisterIs this collection lazily initialized?- Specified by:
isLazyin interfaceCollectionPersister
-
isInverse
public boolean isInverse()Description copied from interface:CollectionPersisterIs this collection "inverse", so state changes are not propagated to the database.- Specified by:
isInversein interfaceCollectionPersister
-
isCascadeDeleteEnabled
public boolean isCascadeDeleteEnabled()Description copied from interface:CollectionPersisterIs cascade delete handled by the database-level foreign key constraint definition?- Specified by:
isCascadeDeleteEnabledin interfaceCollectionPersister
-
getTableName
- Specified by:
getTableNamein interfaceCollectionPersister
-
isRowDeleteEnabled
protected boolean isRowDeleteEnabled() -
needsRemove
public boolean needsRemove()Description copied from interface:CollectionPersisterWhetherCollectionPersister.remove(Object, SharedSessionContractImplementor)might actually do something, or if it is definitely a no-op.- Specified by:
needsRemovein interfaceCollectionPersister
-
isRowInsertEnabled
protected boolean isRowInsertEnabled() -
getOwnerEntityName
-
getOwnerEntityPersister
Description copied from interface:CollectionPersisterGet the persister of the entity that "owns" this collection- Specified by:
getOwnerEntityPersisterin interfaceCollectionPersister
-
getIdentifierGenerator
Deprecated.Description copied from interface:CollectionPersisterGet the surrogate key generation strategy (optional operation)- Specified by:
getIdentifierGeneratorin interfaceCollectionPersister
-
getGenerator
Description copied from interface:CollectionPersisterGet the surrogate key generation strategy (optional operation)- Specified by:
getGeneratorin interfaceCollectionPersister
-
hasOrphanDelete
public boolean hasOrphanDelete()Description copied from interface:CollectionPersisterDoes this collection implement "orphan delete"?- Specified by:
hasOrphanDeletein interfaceCollectionPersister
-
applyBaseRestrictions
public void applyBaseRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) Description copied from interface:RestrictableApplies the base set of restrictions.- Specified by:
applyBaseRestrictionsin interfaceRestrictable
-
applyBaseRestrictions
public void applyBaseRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) Description copied from interface:RestrictableApplies the base set of restrictions.- Specified by:
applyBaseRestrictionsin interfaceRestrictable
-
hasWhereRestrictions
public boolean hasWhereRestrictions()Description copied from interface:WhereRestrictableDoes this restrictable have a where restriction?- Specified by:
hasWhereRestrictionsin interfaceWhereRestrictable
-
applyWhereRestrictions
public void applyWhereRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, SqlAstCreationState creationState) Description copied from interface:WhereRestrictableApply theSQLRestrictionrestrictions- Specified by:
applyWhereRestrictionsin interfaceWhereRestrictable
-
applyWhereFragments
protected void applyWhereFragments(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState astCreationState) -
applyFilterRestrictions
public void applyFilterRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, boolean onlyApplyLoadByKeyFilters, SqlAstCreationState creationState) Description copied from interface:FilterRestrictableApplies just theFiltervalues enabled for the associated entity- Specified by:
applyFilterRestrictionsin interfaceFilterRestrictable
-
isManyToMany
public abstract boolean isManyToMany()Description copied from interface:CollectionPersisterIs this a many-to-many association? Note that this is mainly a convenience feature as the single persister does not contain all the information needed to handle a many-to-many itself, as internally it is looked at as two many-to-ones.- Specified by:
isManyToManyin interfaceCollectionPersister
-
applyBaseManyToManyRestrictions
public void applyBaseManyToManyRestrictions(Consumer<Predicate> predicateConsumer, TableGroup tableGroup, boolean useQualifier, Map<String, Filter> enabledFilters, Set<String> treatAsDeclarations, SqlAstCreationState creationState) - Specified by:
applyBaseManyToManyRestrictionsin interfaceCollectionPersister
-
getManyToManyFilterFragment
- Specified by:
getManyToManyFilterFragmentin interfaceCollectionPersister
-
getElementPersister
Description copied from interface:CollectionPersisterGet the persister of the element class, if this is a collection of entities (optional operation). Note that for a one-to-many association, the returned persister must beOuterJoinLoadable.- Specified by:
getElementPersisterin interfaceCollectionPersister
-
getElementPersisterInternal
-
getCollectionSpaces
Description copied from interface:CollectionPersisterGet the "space" that holds the persistent state- Specified by:
getCollectionSpacesin interfaceCollectionPersister
-
getFactory
- Specified by:
getFactoryin interfaceCollectionPersister
-
toString
-
isVersioned
public boolean isVersioned()Description copied from interface:CollectionPersisterDoes this collection cause version increment of the owning entity?- Specified by:
isVersionedin interfaceCollectionPersister
-
getSQLExceptionHelper
-
getCacheEntryStructure
Description copied from interface:CollectionPersisterGet the structure used to store data into the collection's cache region- Specified by:
getCacheEntryStructurein interfaceCollectionPersister
-
isSubselectLoadable
public boolean isSubselectLoadable()- Specified by:
isSubselectLoadablein interfaceCollectionPersister
-
isMutable
public boolean isMutable()Description copied from interface:CollectionPersisterCan the elements of this collection change?- Specified by:
isMutablein interfaceCollectionPersister
-
getCollectionPropertyColumnAliases
- Specified by:
getCollectionPropertyColumnAliasesin interfaceCollectionPersister
-
initCollectionPropertyMap
public void initCollectionPropertyMap() -
isExtraLazy
public boolean isExtraLazy()- Specified by:
isExtraLazyin interfaceCollectionPersister
-
getDialect
-
getBatchSize
public int getBatchSize()- Specified by:
getBatchSizein interfaceCollectionPersister
-
getMappedByProperty
- Specified by:
getMappedByPropertyin interfaceCollectionPersister- Returns:
- the name of the property this collection is mapped by
-
getFilterAliasGenerator
-
getFilterAliasGenerator
-
injectAttributeMapping
Allows injection of the corresponding plural-attribute mapping.- Specified by:
injectAttributeMappingin interfacePluralAttributeMappingImpl.Aware- Implementation Note:
- Helps solve the chicken-egg problem of which to create first. Ultimately we could
make this work in a similar fashion to how this works in the relationship between
EmbeddableMappingTypeandEmbeddableValuedModelPart.
-
getAttributeMapping
- Specified by:
getAttributeMappingin interfaceCollectionPersister
-
registerAffectingFetchProfile
Description copied from interface:FetchProfileAffecteeRegister the profile name with the entity/collection- Specified by:
registerAffectingFetchProfilein interfaceFetchProfileAffectee
-
isAffectedByEnabledFetchProfiles
- Specified by:
isAffectedByEnabledFetchProfilesin interfaceCollectionPersister
-
isAffectedByEnabledFilters
- Specified by:
isAffectedByEnabledFiltersin interfaceCollectionPersister
-
isAffectedByEnabledFilters
public boolean isAffectedByEnabledFilters(LoadQueryInfluencers influencers, boolean onlyApplyForLoadByKeyFilters) - Specified by:
isAffectedByEnabledFiltersin interfaceCollectionPersister
-
isAffectedByEnabledFilters
public boolean isAffectedByEnabledFilters(Set<ManagedMappingType> visitedTypes, LoadQueryInfluencers influencers, boolean onlyApplyForLoadByKeyFilters) - Specified by:
isAffectedByEnabledFiltersin interfaceCollectionPersister
-
isAffectedByEntityGraph
- Specified by:
isAffectedByEntityGraphin interfaceCollectionPersister
-
getCollectionSemantics
- Specified by:
getCollectionSemanticsin interfaceCollectionPersister
-
getTargetPart
Description copied from interface:MutationTargetThe ModelPart describing the mutation target- Specified by:
getTargetPartin interfaceCollectionMutationTarget- Specified by:
getTargetPartin interfaceMutationTarget<CollectionTableMapping>
-
getIdentifierTableName
Description copied from interface:MutationTargetThe name of the table defining the identifier for this target- Specified by:
getIdentifierTableNamein interfaceMutationTarget<CollectionTableMapping>
-
getCollectionTableMapping
- Specified by:
getCollectionTableMappingin interfaceCollectionMutationTarget
-
hasPhysicalIndexColumn
public boolean hasPhysicalIndexColumn()Description copied from interface:CollectionMutationTargetWhether the collection has at least one physical index column- Specified by:
hasPhysicalIndexColumnin interfaceCollectionMutationTarget
-
forEachMutableTable
Description copied from interface:MutationTargetVisit each table.- Specified by:
forEachMutableTablein interfaceMutationTarget<CollectionTableMapping>
-
forEachMutableTableReverse
Description copied from interface:MutationTargetSame asMutationTarget.forEachMutableTable(java.util.function.Consumer<T>)except that here the tables are visited in reverse order- Specified by:
forEachMutableTableReversein interfaceMutationTarget<CollectionTableMapping>
-
buildDeleteAllOperation
-
generateDeleteAllAst
public RestrictedTableMutation<JdbcMutationOperation> generateDeleteAllAst(MutatingTableReference tableReference) -
applyKeyRestrictions
protected void applyKeyRestrictions(MutatingTableReference tableReference, ColumnValueParameterList parameterList, List<ColumnValueBinding> restrictionBindings) -
getCollectionType
Description copied from interface:CollectionPersisterGet the associatedType- Specified by:
getCollectionTypein interfaceCollectionPersister
-
getKeyType
Description copied from interface:CollectionPersisterGet the "key" type (the type of the foreign key)- Specified by:
getKeyTypein interfaceCollectionPersister
-
getIdentifierType
Description copied from interface:CollectionPersisterGet the type of the surrogate key- Specified by:
getIdentifierTypein interfaceCollectionPersister
-
getIndexType
Description copied from interface:CollectionPersisterGet the "index" type for a list or map (optional operation)- Specified by:
getIndexTypein interfaceCollectionPersister
-
getElementType
Description copied from interface:CollectionPersisterGet the "element" type- Specified by:
getElementTypein interfaceCollectionPersister
-
getKeyColumnAliases
Description copied from interface:CollectionPersisterGenerates the collection's key column aliases, based on the given suffix.- Specified by:
getKeyColumnAliasesin interfaceCollectionPersister- Parameters:
suffix- The suffix to use in the key column alias generation.- Returns:
- The key column aliases.
-
getElementColumnAliases
Description copied from interface:CollectionPersisterGenerates the collection's element column aliases, based on the given suffix.- Specified by:
getElementColumnAliasesin interfaceCollectionPersister- Parameters:
suffix- The suffix to use in the element column alias generation.- Returns:
- The key column aliases.
-
getIndexColumnAliases
Description copied from interface:CollectionPersisterGenerates the collection's index column aliases, based on the given suffix.- Specified by:
getIndexColumnAliasesin interfaceCollectionPersister- Parameters:
suffix- The suffix to use in the index column alias generation.- Returns:
- The key column aliases, or null if not indexed.
-
getIdentifierColumnAlias
Description copied from interface:CollectionPersisterGenerates the collection's identifier column aliases, based on the given suffix.- Specified by:
getIdentifierColumnAliasin interfaceCollectionPersister- Parameters:
suffix- The suffix to use in the key column alias generation.- Returns:
- The key column aliases.
-