Class ExtendedOneToManyPersister
java.lang.Object
org.hibernate.persister.collection.AbstractCollectionPersister
org.hibernate.persister.collection.OneToManyPersister
ch.tocco.nice2.persist.core.impl.hibernate.persister.ExtendedOneToManyPersister
- All Implemented Interfaces:
org.hibernate.engine.profile.internal.FetchProfileAffectee
,org.hibernate.metadata.CollectionMetadata
,org.hibernate.metamodel.mapping.FilterRestrictable
,org.hibernate.metamodel.mapping.internal.PluralAttributeMappingImpl.Aware
,org.hibernate.metamodel.mapping.Restrictable
,org.hibernate.metamodel.mapping.WhereRestrictable
,org.hibernate.persister.collection.CollectionPersister
,org.hibernate.persister.collection.DeprecatedCollectionStuff
,org.hibernate.persister.collection.mutation.CollectionMutationTarget
,org.hibernate.persister.collection.QueryableCollection
,org.hibernate.persister.collection.SQLLoadableCollection
,org.hibernate.persister.entity.Joinable
,org.hibernate.persister.entity.PropertyMapping
,org.hibernate.sql.model.MutationTarget<org.hibernate.persister.collection.mutation.CollectionTableMapping>
public class ExtendedOneToManyPersister
extends org.hibernate.persister.collection.OneToManyPersister
Overrides
CollectionPersister.isAffectedByEnabledFilters(SharedSessionContractImplementor)
and always returns
true. Even though we don't use hibernate filters, we have a similar concept (QueryBuilderInterceptor
) with
similar side effects and want the same behaviour.- See Also:
-
Field Summary
Fields inherited from class org.hibernate.persister.collection.AbstractCollectionPersister
batchSize, elementColumnAliases, elementColumnIsGettable, elementColumnIsSettable, elementColumnNames, elementColumnReaders, elementColumnReaderTemplates, elementColumnWriters, elementFormulas, elementFormulaTemplates, elementIsPureFormula, elementType, hasWhere, identifierColumnName, indexColumnAliases, indexColumnIsGettable, indexColumnIsSettable, indexColumnNames, indexContainsFormula, indexFormulas, indexFormulaTemplates, isInverse, keyColumnAliases, keyColumnNames, qualifiedTableName, sqlExceptionHelper, sqlWhereString
-
Constructor Summary
ConstructorDescriptionExtendedOneToManyPersister
(org.hibernate.mapping.Collection collectionBinding, org.hibernate.cache.spi.access.CollectionDataAccess cacheAccessStrategy, org.hibernate.metamodel.spi.RuntimeModelCreationContext creationContext) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAffectedByEnabledFilters
(org.hibernate.engine.spi.SharedSessionContractImplementor session) Methods inherited from class org.hibernate.persister.collection.OneToManyPersister
applyWhereFragments, consumesCollectionAlias, consumesEntityAlias, deleteRows, doProcessQueuedOps, generateDeleteAllAst, generateDeleteRowAst, getDeleteRowsCoordinator, getFilterAliasGenerator, getFilterAliasGenerator, getInsertRowsCoordinator, getRemoveCoordinator, getRowMutationOperations, getTableName, getUpdateRowsCoordinator, insertRows, isManyToMany, isOneToMany, isRowDeleteEnabled, recreate, updateRows
Methods inherited from class org.hibernate.persister.collection.AbstractCollectionPersister
applyBaseManyToManyRestrictions, applyBaseRestrictions, applyBaseRestrictions, applyFilterRestrictions, applyKeyRestrictions, applyWhereRestrictions, buildDeleteAllOperation, createNamedQueryCollectionLoader, createSingleKeyCollectionLoader, createSubSelectLoader, decrementIndexByBase, determineLoaderToUse, determineTableName, elementExists, forEachMutableTable, forEachMutableTableReverse, generateDetectRowByElementString, generateDetectRowByIndexString, generateSelectSizeString, getAttributeMapping, getBatchSize, getCacheAccessStrategy, getCacheEntryStructure, getCollectionLoader, getCollectionMetadata, getCollectionPropertyColumnAliases, getCollectionSemantics, getCollectionSpaces, getCollectionTableMapping, getCollectionType, getDialect, getElementByIndex, getElementClass, getElementColumnAliases, getElementColumnNames, getElementColumnNames, getElementPersister, getElementPersisterInternal, getElementType, getFactory, getFetchMode, getGenerator, getIdentifierColumnAlias, getIdentifierColumnName, getIdentifierGenerator, getIdentifierTableName, getIdentifierType, getIndexColumnAliases, getIndexColumnNames, getIndexColumnNames, getIndexFormulas, getIndexType, getKeyColumnAliases, getKeyColumnNames, getKeyType, getManyToManyFilterFragment, getManyToManyOrderByString, getMappedByProperty, getName, getNavigableRole, getOwnerEntityName, getOwnerEntityPersister, getSize, getSortingComparator, getSQLExceptionHelper, getSQLOrderByString, getTargetPart, hasCache, hasIndex, hasManyToManyOrdering, hasOrdering, hasOrphanDelete, hasPhysicalIndexColumn, hasWhere, hasWhereRestrictions, incrementIndexByBase, indexExists, initCollectionPropertyMap, initialize, injectAttributeMapping, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEntityGraph, isArray, isBatchLoadable, isCascadeDeleteEnabled, isCollection, isExtraLazy, isInverse, isLazy, isMutable, isPrimitiveArray, isRowInsertEnabled, isSubselectLoadable, isVersioned, logStaticSQL, needsRemove, postInstantiate, processQueuedOps, registerAffectingFetchProfile, remove, selectFragment, toColumns, toString, toType, useShallowQueryCacheLayout
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hibernate.persister.collection.mutation.CollectionMutationTarget
getIdentifierTableMapping
Methods inherited from interface org.hibernate.persister.collection.DeprecatedCollectionStuff
getRole
Methods inherited from interface org.hibernate.metamodel.mapping.FilterRestrictable
applyFilterRestrictions
Methods inherited from interface org.hibernate.sql.model.MutationTarget
getRolePath
-
Constructor Details
-
ExtendedOneToManyPersister
public ExtendedOneToManyPersister(org.hibernate.mapping.Collection collectionBinding, org.hibernate.cache.spi.access.CollectionDataAccess cacheAccessStrategy, org.hibernate.metamodel.spi.RuntimeModelCreationContext creationContext) throws org.hibernate.MappingException, org.hibernate.cache.CacheException - Throws:
org.hibernate.MappingException
org.hibernate.cache.CacheException
-
-
Method Details