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, whereJoinFragmentappendElementColumns, 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, writeKeypublic 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.CollectionPersisterinsertRows in class org.hibernate.persister.collection.AbstractCollectionPersisterorg.hibernate.HibernateExceptionprotected 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.BasicCollectionPersisterorg.hibernate.HibernateExceptionpublic 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.CollectionPersisterupdateRows in class org.hibernate.persister.collection.AbstractCollectionPersisterorg.hibernate.HibernateExceptionpublic 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.CollectionPersisterdeleteRows in class org.hibernate.persister.collection.AbstractCollectionPersisterorg.hibernate.HibernateExceptionpublic void remove(Serializable id, org.hibernate.engine.SessionImplementor session) throws org.hibernate.HibernateException
remove in interface org.hibernate.persister.collection.CollectionPersisterremove in class org.hibernate.persister.collection.AbstractCollectionPersisterorg.hibernate.HibernateException
Version: 5.3.4-ice35-b69
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.