Interface EntityMutationTarget
- All Superinterfaces:
MutationTarget<EntityTableMapping>
- All Known Subinterfaces:
EntityPersister
- All Known Implementing Classes:
AbstractEntityPersister
,JoinedSubclassEntityPersister
,MockEntityPersister
,ProcessorSessionFactory.EntityPersister
,SingleTableEntityPersister
,UnionSubclassEntityPersister
Anything that can be the target of mutations
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDiscriminatorToInsertGroup
(MutationGroupBuilder insertGroupBuilder) void
addSoftDeleteToInsertGroup
(MutationGroupBuilder insertGroupBuilder) 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 descriptor for the table containing the identifier for the targetDeprecated, for removal: This API element is subject to removal in a future version.default GeneratedValuesMutationDelegate
getMutationDelegate
(MutationType mutationType) The ModelPart describing the mutation targetphysicalTableNameForMutation
(SelectableMapping selectableMapping) Methods inherited from interface org.hibernate.sql.model.MutationTarget
forEachMutableTable, forEachMutableTableReverse, getIdentifierTableName, getNavigableRole, getRolePath
-
Method Details
-
getTargetPart
EntityMappingType getTargetPart()Description copied from interface:MutationTarget
The ModelPart describing the mutation target- Specified by:
getTargetPart
in interfaceMutationTarget<EntityTableMapping>
-
getIdentifierTableMapping
EntityTableMapping getIdentifierTableMapping()Description copied from interface:MutationTarget
The descriptor for the table containing the identifier for the target- Specified by:
getIdentifierTableMapping
in interfaceMutationTarget<EntityTableMapping>
-
getTableMappings
-
getIdentifierDescriptor
ModelPart getIdentifierDescriptor()The ModelPart describing the identifier/key for this target -
physicalTableNameForMutation
-
addDiscriminatorToInsertGroup
-
addSoftDeleteToInsertGroup
-
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() -
getUpdateDelegate
GeneratedValuesMutationDelegate getUpdateDelegate() -
getMutationDelegate
-
getInsertDelegate()
instead