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 ElementsModifier and TypeOptional ElementDescriptionThe name of the partition holding currently effective data.The name of the partition holding historical data.
-
Element Details
-
currentPartition
String currentPartitionThe name of the partition holding currently effective data. Defaults to the temporal table name with the suffix_current.- Default:
""
-
historyPartition
String historyPartitionThe name of the partition holding historical data. Defaults to the temporal table name with the suffix_history.- Default:
""
-