public class CountCollectionPersister
extends org.hibernate.persister.collection.BasicCollectionPersister
CollectionPersister
which knows how to handle the count views
generated by dsl/resources/ome/dsl/views.dm. In general, attempts to data
modifications and properly loads the counts.batchSize, elementColumnAliases, elementColumnIsInPrimaryKey, elementColumnIsSettable, elementColumnNames, elementColumnReaders, elementColumnReaderTemplates, elementColumnWriters, elementFormulas, elementFormulaTemplates, elementIsPureFormula, elementType, hasIdentifier, hasIndex, hasWhere, identifierColumnName, indexColumnAliases, indexColumnIsSettable, indexColumnNames, indexContainsFormula, indexFormulas, indexFormulaTemplates, keyColumnAliases, keyColumnNames, qualifiedTableName, sqlWhereString
Constructor and Description |
---|
CountCollectionPersister(org.hibernate.mapping.Collection collection,
org.hibernate.cache.access.CollectionRegionAccessStrategy regions,
org.hibernate.cfg.Configuration cfg,
org.hibernate.engine.SessionFactoryImplementor factory) |
Modifier and Type | Method and Description |
---|---|
void |
deleteRows(org.hibernate.collection.PersistentCollection collection,
Serializable id,
org.hibernate.engine.SessionImplementor session) |
protected int |
doUpdateRows(Serializable id,
org.hibernate.collection.PersistentCollection collection,
org.hibernate.engine.SessionImplementor session) |
void |
insertRows(org.hibernate.collection.PersistentCollection collection,
Serializable id,
org.hibernate.engine.SessionImplementor session) |
void |
remove(Serializable id,
org.hibernate.engine.SessionImplementor session) |
void |
updateRows(org.hibernate.collection.PersistentCollection collection,
Serializable id,
org.hibernate.engine.SessionImplementor session) |
consumesCollectionAlias, consumesEntityAlias, createCollectionInitializer, createSubselectInitializer, fromJoinFragment, generateDeleteRowString, generateDeleteString, generateInsertRowString, generateUpdateRowString, isCascadeDeleteEnabled, isManyToMany, isOneToMany, selectFragment, whereJoinFragment
appendElementColumns, appendIdentifierColumns, appendIndexColumns, decrementIndexByBase, elementExists, filterFragment, filterFragment, generateDetectRowByElementString, generateDetectRowByIndexString, generateSelectFragment, generateSelectRowByIndexString, generateSelectSizeString, getAppropriateInitializer, getCacheAccessStrategy, getCacheEntryStructure, getCollectionMetadata, getCollectionPropertyColumnAliases, getCollectionSpaces, getCollectionType, getDeleteAllCheckStyle, getDeleteCheckStyle, getDialect, getElementByIndex, getElementClass, getElementColumnAliases, getElementColumnNames, getElementColumnNames, getElementNodeName, getElementPersister, getElementType, getFactory, getFetchMode, getIdentifierColumnAlias, getIdentifierColumnName, getIdentifierGenerator, getIdentifierType, getIndexColumnAliases, getIndexColumnNames, getIndexColumnNames, getIndexFormulas, getIndexNodeName, getIndexType, getInitializer, getInsertCheckStyle, getKeyColumnAliases, getKeyColumnNames, getKeyType, getManyToManyFilterFragment, getManyToManyOrderByString, getName, getNodeName, getOwnerEntityName, getOwnerEntityPersister, getRole, getSize, getSQLDeleteRowString, getSQLDeleteString, getSQLExceptionConverter, getSQLInsertRowString, getSQLOrderByString, getSQLUpdateRowString, getSQLWhereString, getTableName, getType, getUpdateCheckStyle, hasCache, hasIndex, hasManyToManyOrdering, hasOrdering, hasOrphanDelete, hasWhere, incrementIndexByBase, indexExists, initCollectionPropertyMap, initialize, isAffectedByEnabledFilters, isArray, isCollection, isDeleteAllCallable, isDeleteCallable, isExtraLazy, isInsertCallable, isInverse, isLazy, isMutable, isPrimitiveArray, isRowDeleteEnabled, isRowInsertEnabled, isSubselectLoadable, isUpdateCallable, isVersioned, logStaticSQL, oneToManyFilterFragment, postInstantiate, readElement, readIdentifier, readIndex, readKey, recreate, selectFragment, toColumns, toColumns, toString, toType, writeElement, writeElementToWhere, writeIdentifier, writeIndex, writeIndexToWhere, writeKey
public CountCollectionPersister(org.hibernate.mapping.Collection collection, org.hibernate.cache.access.CollectionRegionAccessStrategy regions, org.hibernate.cfg.Configuration cfg, org.hibernate.engine.SessionFactoryImplementor factory)
public void insertRows(org.hibernate.collection.PersistentCollection collection, Serializable id, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException
insertRows
in interface org.hibernate.persister.collection.CollectionPersister
insertRows
in class org.hibernate.persister.collection.AbstractCollectionPersister
org.hibernate.HibernateException
protected int doUpdateRows(Serializable id, org.hibernate.collection.PersistentCollection collection, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException
doUpdateRows
in class org.hibernate.persister.collection.BasicCollectionPersister
org.hibernate.HibernateException
public void updateRows(org.hibernate.collection.PersistentCollection collection, Serializable id, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException
updateRows
in interface org.hibernate.persister.collection.CollectionPersister
updateRows
in class org.hibernate.persister.collection.AbstractCollectionPersister
org.hibernate.HibernateException
public void deleteRows(org.hibernate.collection.PersistentCollection collection, Serializable id, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException
deleteRows
in interface org.hibernate.persister.collection.CollectionPersister
deleteRows
in class org.hibernate.persister.collection.AbstractCollectionPersister
org.hibernate.HibernateException
public void remove(Serializable id, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException
remove
in interface org.hibernate.persister.collection.CollectionPersister
remove
in class org.hibernate.persister.collection.AbstractCollectionPersister
org.hibernate.HibernateException
Version: 5.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.