Interface GraphEntityMutationTarget

All Superinterfaces:
GraphMutationTarget<EntityTableDescriptor>
All Known Subinterfaces:
EntityMutationTarget, EntityPersister
All Known Implementing Classes:
AbstractEntityPersister, JoinedSubclassEntityPersister, SingleTableEntityPersister, UnionSubclassEntityPersister

@Incubating public interface GraphEntityMutationTarget extends GraphMutationTarget<EntityTableDescriptor>

Entity-specific mutation target for the graph-based action queue.

Provides entity table information as EntityTableDescriptor instances, used by graph-based action decomposers for planning mutation execution.

Since:
8.0
  • Method Details

    • getTargetPart

      EntityMappingType getTargetPart()
      Description copied from interface: GraphMutationTarget
      The ModelPart describing the mutation target
      Specified by:
      getTargetPart in interface GraphMutationTarget<EntityTableDescriptor>
    • getIdentifierTableDescriptor

      EntityTableDescriptor getIdentifierTableDescriptor()
      Description copied from interface: GraphMutationTarget
      The table descriptor for the table containing the identifier
      Specified by:
      getIdentifierTableDescriptor in interface GraphMutationTarget<EntityTableDescriptor>
    • getTableDescriptors

      EntityTableDescriptor[] getTableDescriptors()
      All table descriptors for this entity
    • getIdentifierDescriptor

      ModelPart getIdentifierDescriptor()
      The ModelPart describing the identifier/key for this target
    • getInsertDecomposer

      EntityActionDecomposer<org.hibernate.action.internal.AbstractEntityInsertAction> getInsertDecomposer()
      The decomposer for INSERT actions
    • getUpdateDecomposer

      EntityActionDecomposer<org.hibernate.action.internal.EntityUpdateAction> getUpdateDecomposer()
      The decomposer for UPDATE actions
    • getDeleteDecomposer

      EntityActionDecomposer<org.hibernate.action.internal.EntityDeleteAction> getDeleteDecomposer()
      The decomposer for DELETE actions
    • addDiscriminatorToInsertGroup

      default void addDiscriminatorToInsertGroup(Function<String, TableInsertBuilder> insertGroupBuilder)
      Add discriminator column to the insert operation builder
    • bindDiscriminatorForInsert

      default void bindDiscriminatorForInsert(JdbcValueBindings jdbcValueBindings)
      Bind discriminator value for insert
    • addDiscriminatorToDelete

      default void addDiscriminatorToDelete(TableDeleteBuilder tableDeleteBuilder)
      Add discriminator column to the delete operation builder (for the primary table).
    • bindDiscriminatorForDelete

      default void bindDiscriminatorForDelete(JdbcValueBindings jdbcValueBindings)
      Bind discriminator value for insert
    • addSoftDeleteToInsertGroup

      void addSoftDeleteToInsertGroup(Function<String, TableInsertBuilder> insertGroupBuilder)
      Add soft-delete column to the insert operation builder