Deprecated
as a consequence of AbstractCollectionPersister being deprecated. See corresponding docs for further information.
BasicCollectionPersister
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final DeleteRowsCoordinator | |
| private final InsertRowsCoordinator | |
| private final boolean | |
| private final boolean | |
| private final MutationExecutorService | |
| private final RemoveCoordinator | |
| private final RowMutationOperations | |
| private final UpdateRowsCoordinator |
| Access | Constructor and Description |
|---|---|
| public | OneToManyPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)
Deprecated
since 6.0.
|
| public | OneToManyPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext)
Deprecated
as a consequence of
RuntimeModelCreationContext being deprecated.
|
| cascadeDeleteEnabled | back to summary |
|---|---|
| private final boolean cascadeDeleteEnabled | |
| deleteRowsCoordinator | back to summary |
|---|---|
| private final DeleteRowsCoordinator deleteRowsCoordinator | |
| insertRowsCoordinator | back to summary |
|---|---|
| private final InsertRowsCoordinator insertRowsCoordinator | |
| keyIsNullable | back to summary |
|---|---|
| private final boolean keyIsNullable | |
| keyIsUpdateable | back to summary |
|---|---|
| private final boolean keyIsUpdateable | |
| mutationExecutorService | back to summary |
|---|---|
| private final MutationExecutorService mutationExecutorService | |
| removeCoordinator | back to summary |
|---|---|
| private final RemoveCoordinator removeCoordinator | |
| rowMutationOperations | back to summary |
|---|---|
| private final RowMutationOperations rowMutationOperations | |
| updateRowsCoordinator | back to summary |
|---|---|
| private final UpdateRowsCoordinator updateRowsCoordinator | |
| OneToManyPersister | back to summary |
|---|---|
| public OneToManyPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext) throws MappingException, CacheException
Deprecated since 6.0.
| |
| OneToManyPersister | back to summary |
|---|---|
| public OneToManyPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext) throws MappingException, CacheException
Deprecated as a consequence of | |
| applyDeleteRowRestrictions | back to summary |
|---|---|
| private void applyDeleteRowRestrictions(PersistentCollection<?> collection, Object keyValue, Object rowValue, int rowPosition, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings) | |
| applyInsertRowValues | back to summary |
|---|---|
| private void applyInsertRowValues(PersistentCollection<?> collection, Object keyValue, Object rowValue, int rowPosition, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings) | |
| applyWhereFragments | back to summary |
|---|---|
| protected void applyWhereFragments(Consumer<Predicate> predicateConsumer, String alias, TableGroup tableGroup, SqlAstCreationState astCreationState) Overrides org. | |
| applyWriteIndexRestrictions | back to summary |
|---|---|
| private void applyWriteIndexRestrictions(PersistentCollection<?> collection, Object key, Object entry, int entryPosition, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings) | |
| applyWriteIndexValues | back to summary |
|---|---|
| private void applyWriteIndexValues(PersistentCollection<?> collection, Object key, Object entry, int entryPosition, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings) | |
| buildDeleteAllCoordinator | back to summary |
|---|---|
| private RemoveCoordinator buildDeleteAllCoordinator() | |
| buildDeleteCoordinator | back to summary |
|---|---|
| private DeleteRowsCoordinator buildDeleteCoordinator() | |
| buildInsertCoordinator | back to summary |
|---|---|
| private InsertRowsCoordinator buildInsertCoordinator() | |
| buildRowMutationOperations | back to summary |
|---|---|
| private RowMutationOperations buildRowMutationOperations() | |
| buildTableUpdate | back to summary |
|---|---|
| private TableUpdate | |
| buildUpdateCoordinator | back to summary |
|---|---|
| private UpdateRowsCoordinator buildUpdateCoordinator() | |
| consumesCollectionAlias | back to summary |
|---|---|
| public boolean consumesCollectionAlias() Implements org. Doc from org. Very, very, very ugly...
| |
| consumesEntityAlias | back to summary |
|---|---|
| public boolean consumesEntityAlias() Implements org. Doc from org. Very, very, very ugly...
| |
| deleteRows | back to summary |
|---|---|
| public void deleteRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session) Implements org. Doc from org. Delete the persistent state of any elements that were removed from the collection
| |
| doProcessQueuedOps | back to summary |
|---|---|
| protected void doProcessQueuedOps(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session) throws HibernateException Implements abstract org.
| |
| generateDeleteAllAst | back to summary |
|---|---|
| public RestrictedTableMutation Overrides org.
| |
| generateDeleteRowAst | back to summary |
|---|---|
| public RestrictedTableMutation | |
| generateDeleteRowOperation | back to summary |
|---|---|
| private JdbcMutationOperation generateDeleteRowOperation(MutatingTableReference tableReference) | |
| generateInsertRowOperation | back to summary |
|---|---|
| private JdbcMutationOperation generateInsertRowOperation(MutatingTableReference tableReference) | |
| generateWriteIndexOperation | back to summary |
|---|---|
| private JdbcMutationOperation generateWriteIndexOperation(MutatingTableReference tableReference) | |
| getDeleteRowsCoordinator | back to summary |
|---|---|
| protected DeleteRowsCoordinator getDeleteRowsCoordinator() | |
| getFilterAliasGenerator | back to summary |
|---|---|
| public FilterAliasGenerator getFilterAliasGenerator(String rootAlias) Implements abstract org.
| |
| getFilterAliasGenerator | back to summary |
|---|---|
| public FilterAliasGenerator getFilterAliasGenerator(TableGroup rootTableGroup) Implements abstract org.
| |
| getInsertRowsCoordinator | back to summary |
|---|---|
| protected InsertRowsCoordinator getInsertRowsCoordinator() | |
| getRemoveCoordinator | back to summary |
|---|---|
| protected RemoveCoordinator getRemoveCoordinator() Implements abstract org.
| |
| getRowMutationOperations | back to summary |
|---|---|
| protected RowMutationOperations getRowMutationOperations() Implements abstract org.
| |
| getTableName | back to summary |
|---|---|
| public String getTableName() Overrides org. Implements org. Doc from org. The table to join to.
| |
| getUpdateRowsCoordinator | back to summary |
|---|---|
| protected UpdateRowsCoordinator getUpdateRowsCoordinator() | |
| insertRows | back to summary |
|---|---|
| public void insertRows(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session) throws HibernateException Implements org. Doc from org. Insert the persistent state of any new collection elements
| |
| isCascadeDeleteEnabled | back to summary |
|---|---|
| public boolean isCascadeDeleteEnabled() Implements org. Doc from org. Is cascade delete handled by the database-level foreign key constraint definition? | |
| isManyToMany | back to summary |
|---|---|
| public boolean isManyToMany() Implements abstract org. Implements org. Doc from org. Is this a many-to-many association? Note that this is mainly a convenience feature as the single persister does not contain all the information needed to handle a many-to-many itself, as internally it is looked at as two many-to-ones.
| |
| isOneToMany | back to summary |
|---|---|
| public boolean isOneToMany() Implements org. Doc from org. Is this a one-to-many association? | |
| isRowDeleteEnabled | back to summary |
|---|---|
| protected boolean isRowDeleteEnabled() Overrides org.
| |
| isRowInsertEnabled | back to summary |
|---|---|
| protected boolean isRowInsertEnabled() Overrides org.
| |
| recreate | back to summary |
|---|---|
| public void recreate(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session) throws HibernateException Implements org. Doc from org. (Re)create the collection's persistent state
| |
| updateRows | back to summary |
|---|---|
| public void updateRows(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session) Implements org. Doc from org. Update the persistent state of any elements that were modified
| |
| writeIndex | back to summary |
|---|---|
| private void writeIndex(PersistentCollection<?> collection, Iterator<?> entries, Object key, boolean resetIndex, SharedSessionContractImplementor session) | |