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.metamodel.mapping.FilterRestrictable,org.hibernate.metamodel.mapping.internal.InFlightCollectionMapping,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.mutation.CollectionMutationTarget,org.hibernate.persister.entity.Joinable,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
ConstructorsConstructorDescriptionExtendedOneToManyPersister(org.hibernate.mapping.Collection collectionBinding, org.hibernate.cache.spi.access.CollectionDataAccess cacheAccessStrategy, org.hibernate.metamodel.spi.RuntimeModelCreationContext creationContext) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAffectedByEnabledFilters(org.hibernate.engine.spi.SharedSessionContractImplementor session) Methods inherited from class org.hibernate.persister.collection.OneToManyPersister
applyWhereFragments, deleteRows, doProcessQueuedOps, generateDeleteAllAst, generateDeleteRowAst, getDeleteRowsCoordinator, getFilterAliasGenerator, getFilterAliasGenerator, getInsertRowsCoordinator, getRemoveCoordinator, getRowMutationOperations, getTableName, getUpdateRowsCoordinator, insertRows, isManyToMany, isOneToMany, isRowDeleteEnabled, recreate, updateRowsMethods inherited from class org.hibernate.persister.collection.AbstractCollectionPersister
applyBaseManyToManyRestrictions, applyBaseRestrictions, applyBaseRestrictions, applyFilterRestrictions, applyKeyRestrictions, applyWhereRestrictions, buildDeleteAllOperation, createNamedQueryCollectionLoader, createSingleKeyCollectionLoader, createSubSelectLoader, determineLoaderToUse, determineTableName, elementExists, forEachMutableTable, forEachMutableTableReverse, generateDetectRowByElementString, generateDetectRowByIndexString, generateSelectSizeString, getAttributeMapping, getBatchSize, getCacheAccessStrategy, getCacheEntryStructure, getCollectionLoader, getCollectionPropertyColumnAliases, getCollectionSemantics, getCollectionSpaces, getCollectionTableMapping, getCollectionType, getDialect, getElementByIndex, getElementClass, getElementColumnAliases, getElementColumnNames, getElementPersister, getElementPersisterInternal, getElementType, getFactory, getGenerator, getIdentifierColumnAlias, getIdentifierColumnName, getIdentifierGenerator, getIdentifierTableName, getIdentifierType, getIndexColumnAliases, getIndexColumnNames, getIndexType, getKeyColumnAliases, getKeyColumnNames, getKeyType, getManyToManyFilterFragment, getMappedByProperty, getNavigableRole, getOwnerEntityName, getOwnerEntityPersister, getSize, getSortingComparator, getSQLExceptionHelper, getTargetPart, hasCache, hasIndex, hasManyToManyOrdering, hasOrdering, hasOrphanDelete, hasPhysicalIndexColumn, hasWhereRestrictions, incrementIndexByBase, indexExists, initCollectionPropertyMap, initialize, injectAttributeMapping, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEnabledFilters, isAffectedByEntityGraph, isArray, isCascadeDeleteEnabled, isExtraLazy, isInverse, isLazy, isMutable, isPrimitiveArray, isRowInsertEnabled, isSubselectLoadable, isVersioned, logStaticSQL, needsRemove, postInstantiate, prepareMappingModel, processQueuedOps, registerAffectingFetchProfile, remove, selectFragment, toString, useShallowQueryCacheLayoutMethods 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
getRole, isBatchLoadableMethods inherited from interface org.hibernate.metamodel.mapping.FilterRestrictable
applyFilterRestrictionsMethods 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.MappingExceptionorg.hibernate.cache.CacheException
-
-
Method Details