Interface LegacyEntityMutationTarget
- All Superinterfaces:
LegacyMutationTarget<EntityTableMapping>
- All Known Subinterfaces:
EntityMutationTarget, EntityPersister
- All Known Implementing Classes:
AbstractEntityPersister, JoinedSubclassEntityPersister, SingleTableEntityPersister, UnionSubclassEntityPersister
@Incubating
public interface LegacyEntityMutationTarget
extends LegacyMutationTarget<EntityTableMapping>
Entity-specific mutation target for the legacy (sequential) action queue.
Provides entity table information as EntityTableMapping instances,
used by legacy mutation coordinators.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAuxiliaryToInsertGroup(MutationGroupBuilder insertGroupBuilder) Add auxiliary columns to the insert group buildervoidaddDiscriminatorToInsertGroup(MutationGroupBuilder insertGroupBuilder) Deprecated, for removal: This API element is subject to removal in a future version.Used by legacy action queue processes.The name of the table to use when performing mutations (INSERT,UPDATE,DELETE) for the given attributeThe ModelPart describing the identifier/key for this targetThe table mapping for the table containing the identifierDeprecated, for removal: This API element is subject to removal in a future version.usegetInsertDelegate()insteadThe delegate for insert-generated valuesdefault GeneratedValuesMutationDelegategetMutationDelegate(MutationType mutationType) Get the mutation delegate for the given mutation typeAll table mappings for this entityThe ModelPart describing the mutation targetThe delegate for update-generated valuesphysicalTableNameForMutation(SelectableMapping selectableMapping) The physical table name to use when mutating the given selectableMethods inherited from interface LegacyMutationTarget
forEachMutableTable, forEachMutableTableReverse, getIdentifierTableName, getNavigableRole, getRolePath
-
Method Details
-
getTargetPart
EntityMappingType getTargetPart()Description copied from interface:LegacyMutationTargetThe ModelPart describing the mutation target- Specified by:
getTargetPartin interfaceLegacyMutationTarget<EntityTableMapping>
-
getIdentifierTableMapping
EntityTableMapping getIdentifierTableMapping()Description copied from interface:LegacyMutationTargetThe table mapping for the table containing the identifier- Specified by:
getIdentifierTableMappingin interfaceLegacyMutationTarget<EntityTableMapping>
-
getTableMappings
All table mappings for this entity -
getIdentifierDescriptor
ModelPart getIdentifierDescriptor()The ModelPart describing the identifier/key for this target -
physicalTableNameForMutation
The physical table name to use when mutating the given selectable -
addDiscriminatorToInsertGroup
@Deprecated(since="8.0", forRemoval=true) void addDiscriminatorToInsertGroup(MutationGroupBuilder insertGroupBuilder) Deprecated, for removal: This API element is subject to removal in a future version.Used by legacy action queue processes.Add discriminator column to the insert group builder -
addAuxiliaryToInsertGroup
Add auxiliary columns to the insert group builder -
getAttributeMutationTableName
The name of the table to use when performing mutations (INSERT,UPDATE,DELETE) for the given attribute -
getIdentityInsertDelegate
@Deprecated(forRemoval=true, since="6.5") default InsertGeneratedIdentifierDelegate getIdentityInsertDelegate()Deprecated, for removal: This API element is subject to removal in a future version.usegetInsertDelegate()insteadThe delegate for executing inserts against the root table for targets defined using post-insert id generation -
getInsertDelegate
GeneratedValuesMutationDelegate getInsertDelegate()The delegate for insert-generated values -
getUpdateDelegate
GeneratedValuesMutationDelegate getUpdateDelegate()The delegate for update-generated values -
getMutationDelegate
Get the mutation delegate for the given mutation type
-