Class TemporalTableSupports
java.lang.Object
org.hibernate.dialect.temporal.spi.TemporalTableSupports
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 Summary
Modifier and TypeMethodDescriptionstatic TemporalTableSupportmysql(int temporalColumnPrecision, boolean tableCheckConstraints) Create the MySQL history-table and partitioning profile.static TemporalTableSupportstandard(int temporalColumnType, int temporalColumnPrecision, boolean tableCheckConstraints) Create the standard non-native history-table profile.
-
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.
-