Interface LegacyMutationTarget<T extends TableMapping>

All Known Subinterfaces:
CollectionMutationTarget, EntityMutationTarget, EntityPersister, LegacyEntityMutationTarget, MutationTarget<T,TD>
All Known Implementing Classes:
AbstractCollectionPersister, AbstractEntityPersister, BasicCollectionPersister, JoinedSubclassEntityPersister, OneToManyPersister, SingleTableEntityPersister, UnionSubclassEntityPersister

@Incubating public interface LegacyMutationTarget<T extends TableMapping>
Mutation target contract for the legacy (sequential) action queue.

Exposes table information as TableMapping instances, used by legacy coordinators for executing mutations.

  • Method Details

    • getNavigableRole

      NavigableRole getNavigableRole()
      The model role of this target
    • getRolePath

      String getRolePath()
      The string representation of the role path
    • getTargetPart

      ModelPartContainer getTargetPart()
      The ModelPart describing the mutation target
    • forEachMutableTable

      void forEachMutableTable(Consumer<T> consumer)
      Visit each mutable (non-inverse) table.
      API Note:
      Inverse tables are excluded here - they are not mutable relative to this mapping
    • forEachMutableTableReverse

      void forEachMutableTableReverse(Consumer<T> consumer)
      Same as forEachMutableTable(Consumer) except that here the tables are visited in reverse order.
      API Note:
      Inverse tables are excluded here - they are not mutable relative to this mapping
    • getIdentifierTableName

      String getIdentifierTableName()
      The name of the table defining the identifier for this target
    • getIdentifierTableMapping

      T getIdentifierTableMapping()
      The table mapping for the table containing the identifier