Deprecated
as a consequence of AbstractCollectionPersister being deprecated. See corresponding docs for further information.
OneToManyPersister
| Modifier and Type | Field and Description |
|---|---|
| private final DeleteRowsCoordinator | |
| private final InsertRowsCoordinator | |
| private final RemoveCoordinator | |
| private final RowMutationOperations | |
| private final UpdateRowsCoordinator |
| Access | Constructor and Description |
|---|---|
| public | BasicCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)
Deprecated
since 6.0.
|
| public | BasicCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, RuntimeModelCreationContext creationContext)
Deprecated
as a consequence of
RuntimeModelCreationContext being deprecated.
|
| deleteRowsCoordinator | back to summary |
|---|---|
| private final DeleteRowsCoordinator deleteRowsCoordinator | |
| insertRowsCoordinator | back to summary |
|---|---|
| private final InsertRowsCoordinator insertRowsCoordinator | |
| removeCoordinator | back to summary |
|---|---|
| private final RemoveCoordinator removeCoordinator | |
| rowMutationOperations | back to summary |
|---|---|
| private final RowMutationOperations rowMutationOperations | |
| updateCoordinator | back to summary |
|---|---|
| private final UpdateRowsCoordinator updateCoordinator | |
| BasicCollectionPersister | back to summary |
|---|---|
| public BasicCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext) throws MappingException, CacheException
Deprecated since 6.0.
| |
| BasicCollectionPersister | back to summary |
|---|---|
| public BasicCollectionPersister(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) | |
| applyInsertDetails | back to summary |
|---|---|
| private void applyInsertDetails(TableInsertBuilderStandard insertBuilder) | |
| applyInsertRowValues | back to summary |
|---|---|
| private void applyInsertRowValues(PersistentCollection<?> collection, Object key, Object rowValue, int rowPosition, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings) | |
| applyUpdateRowRestrictions | back to summary |
|---|---|
| private void applyUpdateRowRestrictions(PersistentCollection<?> collection, Object key, Object entry, int entryPosition, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings) | |
| applyUpdateRowValues | back to summary |
|---|---|
| private void applyUpdateRowValues(PersistentCollection<?> collection, Object key, Object entry, int entryPosition, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings) | |
| buildCustomSqlInsertRowOperation | back to summary |
|---|---|
| private JdbcMutationOperation buildCustomSqlInsertRowOperation(MutatingTableReference tableReference) | |
| buildDeleteAllCoordinator | back to summary |
|---|---|
| private RemoveCoordinator buildDeleteAllCoordinator() | |
| buildDeleteRowCoordinator | back to summary |
|---|---|
| private DeleteRowsCoordinator buildDeleteRowCoordinator() | |
| buildGeneratedInsertRowOperation | back to summary |
|---|---|
| private JdbcMutationOperation buildGeneratedInsertRowOperation(MutatingTableReference tableReference) | |
| buildInsertRowCoordinator | back to summary |
|---|---|
| private InsertRowsCoordinator buildInsertRowCoordinator() | |
| buildRowMutationOperations | back to summary |
|---|---|
| protected RowMutationOperations buildRowMutationOperations() | |
| buildUpdateRowCoordinator | back to summary |
|---|---|
| private UpdateRowsCoordinator buildUpdateRowCoordinator() | |
| 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 id, 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) Implements abstract org.
| |
| generateDeleteAllAst | back to summary |
|---|---|
| public RestrictedTableMutation Overrides org.
| |
| generateDeleteRowAst | back to summary |
|---|---|
| private RestrictedTableMutation | |
| generateDeleteRowOperation | back to summary |
|---|---|
| private JdbcMutationOperation generateDeleteRowOperation(MutatingTableReference tableReference) | |
| generateInsertRowAst | back to summary |
|---|---|
| private TableMutation | |
| generateInsertRowOperation | back to summary |
|---|---|
| private JdbcMutationOperation generateInsertRowOperation(MutatingTableReference tableReference) | |
| generateSoftDeleteRowsAst | back to summary |
|---|---|
| protected RestrictedTableMutation | |
| generateUpdateRowAst | back to summary |
|---|---|
| private RestrictedTableMutation | |
| generateUpdateRowOperation | back to summary |
|---|---|
| private JdbcMutationOperation generateUpdateRowOperation(MutatingTableReference tableReference) | |
| getCreateEntryCoordinator | back to summary |
|---|---|
| protected InsertRowsCoordinator getCreateEntryCoordinator() | |
| getFilterAliasGenerator | back to summary |
|---|---|
| public FilterAliasGenerator getFilterAliasGenerator(String rootAlias) Implements abstract org.
| |
| getFilterAliasGenerator | back to summary |
|---|---|
| public FilterAliasGenerator getFilterAliasGenerator(TableGroup tableGroup) Implements abstract org.
| |
| getRemoveCoordinator | back to summary |
|---|---|
| protected RemoveCoordinator getRemoveCoordinator() Implements abstract org.
| |
| getRemoveEntryCoordinator | back to summary |
|---|---|
| protected DeleteRowsCoordinator getRemoveEntryCoordinator() | |
| getRowMutationOperations | back to summary |
|---|---|
| protected RowMutationOperations getRowMutationOperations() Implements abstract org. | |
| getUpdateEntryCoordinator | back to summary |
|---|---|
| protected UpdateRowsCoordinator getUpdateEntryCoordinator() | |
| 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?
| |
| recreate | back to summary |
|---|---|
| public void recreate(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session) 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
| |