Class TemporalTableSupports

java.lang.Object
org.hibernate.dialect.temporal.spi.TemporalTableSupports

@SPI(USE) public final class TemporalTableSupports extends Object

Constructs immutable stock temporal-table profiles without exposing a Hibernate vendor implementation.

Select standard(int, int, boolean) for ordinary history-table behavior. Select mysql(int, boolean) only when the complete MySQL partition grammar matches, and compose a provider difference with DelegatingTemporalTableSupport.

Since:
8.0
  • Method Details

    • standard

      public static TemporalTableSupport standard(int temporalColumnType, int temporalColumnPrecision, boolean tableCheckConstraints)
      Create the standard non-native history-table profile.
    • mysql

      public static TemporalTableSupport mysql(int temporalColumnPrecision, boolean tableCheckConstraints)
      Create the MySQL history-table and partitioning profile.