Class CustomOneToManyPersister

java.lang.Object
org.hibernate.persister.collection.AbstractCollectionPersister
org.hibernate.persister.collection.OneToManyPersister
com.blazebit.persistence.integration.hibernate.CustomOneToManyPersister
All Implemented Interfaces:
CustomCollectionPersister, org.hibernate.metadata.CollectionMetadata, org.hibernate.persister.collection.CollectionPersister, org.hibernate.persister.collection.QueryableCollection, org.hibernate.persister.collection.SQLLoadableCollection, org.hibernate.persister.entity.Joinable, org.hibernate.persister.entity.PropertyMapping, org.hibernate.persister.walking.spi.CollectionDefinition

public class CustomOneToManyPersister extends org.hibernate.persister.collection.OneToManyPersister implements CustomCollectionPersister
Since:
1.2.0
Author:
Christian Beikov
  • Field Summary

    Fields inherited from class org.hibernate.persister.collection.AbstractCollectionPersister

    batchSize, elementColumnAliases, elementColumnIsGettable, elementColumnIsInPrimaryKey, elementColumnIsSettable, elementColumnNames, elementColumnReaders, elementColumnReaderTemplates, elementColumnWriters, elementFormulas, elementFormulaTemplates, elementIsPureFormula, elementType, hasIdentifier, hasIndex, hasWhere, identifierColumnName, indexColumnAliases, indexColumnIsGettable, indexColumnIsSettable, indexColumnNames, indexContainsFormula, indexFormulas, indexFormulaTemplates, isInverse, keyColumnAliases, keyColumnNames, qualifiedTableName, recreateBatchKey, sqlExceptionHelper, sqlWhereString
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomOneToManyPersister(org.hibernate.mapping.Collection collectionBinding, org.hibernate.cache.spi.access.CollectionDataAccess cacheAccessStrategy, org.hibernate.persister.spi.PersisterCreationContext creationContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.hibernate.loader.collection.CollectionInitializer
    createSubselectInitializer(org.hibernate.engine.spi.SubselectFetch subselect, org.hibernate.engine.spi.SharedSessionContractImplementor session)
     

    Methods inherited from class org.hibernate.persister.collection.OneToManyPersister

    consumesCollectionAlias, consumesEntityAlias, createCollectionInitializer, doProcessQueuedOps, doUpdateRows, filterFragment, filterFragment, fromJoinFragment, fromJoinFragment, generateDeleteRowString, generateDeleteString, generateInsertRowString, generateUpdateRowString, getElementByIndex, getFilterAliasGenerator, getTableName, insertRows, isCascadeDeleteEnabled, isManyToMany, isOneToMany, isRowDeleteEnabled, isRowInsertEnabled, recreate, selectFragment, whereJoinFragment, whereJoinFragment

    Methods inherited from class org.hibernate.persister.collection.AbstractCollectionPersister

    appendElementColumns, appendIdentifierColumns, appendIndexColumns, createDelete, createInsert, createUpdate, decrementIndexByBase, deleteRows, determineTableName, doProcessQueuedOps, elementExists, filterFragment, filterFragment, generateDetectRowByElementString, generateDetectRowByIndexString, generateSelectFragment, generateSelectRowByIndexString, generateSelectSizeString, getAppropriateInitializer, getBatchSize, getCacheAccessStrategy, getCacheEntryStructure, getCollectionMetadata, getCollectionPersister, getCollectionPropertyColumnAliases, getCollectionSpaces, getCollectionType, getDeleteAllCheckStyle, getDeleteCheckStyle, getDialect, getElementClass, getElementColumnAliases, getElementColumnNames, getElementColumnNames, getElementDefinition, getElementPersister, getElementType, getFactory, getFetchMode, getIdentifierColumnAlias, getIdentifierColumnName, getIdentifierGenerator, getIdentifierType, getIndexColumnAliases, getIndexColumnNames, getIndexColumnNames, getIndexDefinition, getIndexFormulas, getIndexType, getInitializer, getInsertCheckStyle, getKeyColumnAliases, getKeyColumnNames, getKeyType, getManyToManyFilterFragment, getManyToManyOrderByString, getMappedByProperty, getName, getNavigableRole, getOwnerEntityName, getOwnerEntityPersister, getRole, getSize, getSQLDeleteRowString, getSQLDeleteString, getSQLExceptionConverter, getSQLExceptionHelper, getSQLInsertRowString, getSQLOrderByString, getSQLUpdateRowString, getSQLWhereString, getType, getUpdateCheckStyle, hasCache, hasIndex, hasManyToManyOrdering, hasOrdering, hasOrphanDelete, hasWhere, incrementIndexByBase, indexExists, initCollectionPropertyMap, initialize, isAffectedByEnabledFilters, isArray, isCollection, isDeleteAllCallable, isDeleteCallable, isExtraLazy, isInsertCallable, isInverse, isLazy, isMutable, isPrimitiveArray, isSubselectLoadable, isUpdateCallable, isVersioned, logStaticSQL, oneToManyFilterFragment, oneToManyFilterFragment, postInstantiate, processQueuedOps, readElement, readIdentifier, readIndex, readKey, remove, selectFragment, toColumns, toColumns, toString, toType, updateRows, writeElement, writeElementToWhere, writeIdentifier, writeIndex, writeIndexToWhere, writeKey

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.blazebit.persistence.integration.hibernate.base.CustomCollectionPersister

    getMappedByProperty

    Methods inherited from interface org.hibernate.persister.entity.Joinable

    fromJoinFragment
  • Constructor Details

    • CustomOneToManyPersister

      public CustomOneToManyPersister(org.hibernate.mapping.Collection collectionBinding, org.hibernate.cache.spi.access.CollectionDataAccess cacheAccessStrategy, org.hibernate.persister.spi.PersisterCreationContext creationContext) throws org.hibernate.MappingException, org.hibernate.cache.CacheException
      Throws:
      org.hibernate.MappingException
      org.hibernate.cache.CacheException
  • Method Details

    • createSubselectInitializer

      protected org.hibernate.loader.collection.CollectionInitializer createSubselectInitializer(org.hibernate.engine.spi.SubselectFetch subselect, org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Overrides:
      createSubselectInitializer in class org.hibernate.persister.collection.OneToManyPersister