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 SummaryFields inherited from class org.hibernate.persister.collection.AbstractCollectionPersisterbatchSize, 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 SummaryConstructorsConstructorDescriptionExtendedOneToManyPersister(org.hibernate.mapping.Collection collectionBinding, org.hibernate.cache.spi.access.CollectionDataAccess cacheAccessStrategy, org.hibernate.metamodel.spi.RuntimeModelCreationContext creationContext) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisAffectedByEnabledFilters(org.hibernate.engine.spi.SharedSessionContractImplementor session) Methods inherited from class org.hibernate.persister.collection.OneToManyPersisterapplyWhereFragments, consumesCollectionAlias, consumesEntityAlias, 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.AbstractCollectionPersisterapplyBaseManyToManyRestrictions, 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, useShallowQueryCacheLayoutMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.persister.collection.mutation.CollectionMutationTargetgetIdentifierTableMappingMethods inherited from interface org.hibernate.persister.collection.DeprecatedCollectionStuffgetRoleMethods inherited from interface org.hibernate.metamodel.mapping.FilterRestrictableapplyFilterRestrictionsMethods inherited from interface org.hibernate.sql.model.MutationTargetgetRolePath
- 
Constructor Details- 
ExtendedOneToManyPersisterpublic 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