Annotation Interface Temporal.HistoryPartitioning

Enclosing class:
Temporal

@Documented @Target({TYPE,FIELD,METHOD}) @Retention(RUNTIME) public static @interface Temporal.HistoryPartitioning
Enables partitioning for a temporal table mapped by a temporal entity or collection in the single table temporal mapping strategy. In other mapping strategies this annotation has no effect.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of the partition holding currently effective data.
    The name of the partition holding historical data.
  • Element Details

    • currentPartition

      String currentPartition
      The name of the partition holding currently effective data. Defaults to the temporal table name with the suffix _current.
      Default:
      ""
    • historyPartition

      String historyPartition
      The name of the partition holding historical data. Defaults to the temporal table name with the suffix _history.
      Default:
      ""