Uses of Enum Class
org.hibernate.temporal.TemporalTableStrategy
Packages that use TemporalTableStrategy
Package
Description
This package contains the interfaces that make up the bootstrap API
for Hibernate.
A range of SPIs allowing integration with—and customization of—the process of building metadata.
Abstracts over database-native support for temporal tables.
Support for working with temporal or audited data.
-
Uses of TemporalTableStrategy in org.hibernate.boot
Methods in org.hibernate.boot with parameters of type TemporalTableStrategyModifier and TypeMethodDescriptionSessionFactoryBuilder.applyTemporalTableStrategy(TemporalTableStrategy strategy) -
Uses of TemporalTableStrategy in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that return TemporalTableStrategyModifier and TypeMethodDescriptionAbstractDelegatingSessionFactoryOptions.getTemporalTableStrategy()default TemporalTableStrategyMetadataBuildingContext.getTemporalTableStrategy()SessionFactoryOptions.getTemporalTableStrategy()Methods in org.hibernate.boot.spi with parameters of type TemporalTableStrategyModifier and TypeMethodDescriptionAbstractDelegatingSessionFactoryBuilder.applyTemporalTableStrategy(TemporalTableStrategy strategy) -
Uses of TemporalTableStrategy in org.hibernate.dialect.temporal
Methods in org.hibernate.dialect.temporal that return TemporalTableStrategyModifier and TypeMethodDescriptionDB2TemporalTableSupport.getDefaultTemporalTableStrategy()DefaultTemporalTableSupport.getDefaultTemporalTableStrategy()MariaDBTemporalTableSupport.getDefaultTemporalTableStrategy()TemporalTableSupport.getDefaultTemporalTableStrategy()The recommended temporal table strategy for this dialect.Methods in org.hibernate.dialect.temporal with parameters of type TemporalTableStrategyModifier and TypeMethodDescriptionvoidDB2TemporalTableSupport.addTemporalTableAuxiliaryObjects(TemporalTableStrategy strategy, Table table, Database database, boolean partitioned, String currentPartitionName, String historyPartitionName) voidDefaultTemporalTableSupport.addTemporalTableAuxiliaryObjects(TemporalTableStrategy strategy, Table table, Database database, boolean partitioned, String currentPartitionName, String historyPartitionName) voidOracleTemporalTableSupport.addTemporalTableAuxiliaryObjects(TemporalTableStrategy strategy, Table table, Database database, boolean partitioned, String currentPartitionName, String historyPartitionName) voidPostgreSQLTemporalTableSupport.addTemporalTableAuxiliaryObjects(TemporalTableStrategy strategy, Table table, Database database, boolean partitioned, String currentPartition, String historyPartition) voidSQLServerTemporalTableSupport.addTemporalTableAuxiliaryObjects(TemporalTableStrategy strategy, Table table, Database database, boolean partitioned, String currentPartitionName, String historyPartitionName) voidTemporalTableSupport.addTemporalTableAuxiliaryObjects(TemporalTableStrategy strategy, Table table, Database database, boolean partitioned, String currentPartitionName, String historyPartitionName) Register any auxiliary database objects required for the given temporary table and strategy.booleanDefaultTemporalTableSupport.createTemporalTableCheckConstraint(TemporalTableStrategy strategy) booleanOracleTemporalTableSupport.createTemporalTableCheckConstraint(TemporalTableStrategy strategy) Returnfalsebecause we useperiod for system_timeto implement the constraint on Oracle.booleanTemporalTableSupport.createTemporalTableCheckConstraint(TemporalTableStrategy strategy) Should we create acheckconstraint to enforce effectivity constraints? (That starting timestamps precede ending timestamps.) This is typically not needed for native temporal tables.DefaultTemporalTableSupport.getAsOfOperator(TemporalTableStrategy strategy) OracleTemporalTableSupport.getAsOfOperator(TemporalTableStrategy strategy) TemporalTableSupport.getAsOfOperator(TemporalTableStrategy strategy) The operator used to specify a temporal instant for querying historical data.DB2TemporalTableSupport.getExtraTemporalTableDeclarations(TemporalTableStrategy strategy, String rowStartColumn, String rowEndColumn, boolean partitioned) DefaultTemporalTableSupport.getExtraTemporalTableDeclarations(TemporalTableStrategy strategy, String rowStartColumn, String rowEndColumn, boolean partitioned) MariaDBTemporalTableSupport.getExtraTemporalTableDeclarations(TemporalTableStrategy strategy, String rowStartColumn, String rowEndColumn, boolean partitioned) MySQLTemporalTableSupport.getExtraTemporalTableDeclarations(TemporalTableStrategy strategy, String rowStartColumn, String rowEndColumn, boolean partitioned) OracleTemporalTableSupport.getExtraTemporalTableDeclarations(TemporalTableStrategy strategy, String rowStartColumn, String rowEndColumn, boolean partitioned) SQLServerTemporalTableSupport.getExtraTemporalTableDeclarations(TemporalTableStrategy strategy, String rowStartColumn, String rowEndColumn, boolean partitioned) TemporalTableSupport.getExtraTemporalTableDeclarations(TemporalTableStrategy strategy, String rowStartColumn, String rowEndColumn, boolean partitioned) Any extra declarations required as part of thecreate tablestatement for a temporal table.DB2TemporalTableSupport.getTemporalTableOptions(TemporalTableStrategy strategy, String rowEndColumnName, boolean partitioned, String currentPartition, String historyPartition) DefaultTemporalTableSupport.getTemporalTableOptions(TemporalTableStrategy strategy, String rowEndColumnName, boolean partitioned, String currentPartitionName, String historyPartitionName) MariaDBTemporalTableSupport.getTemporalTableOptions(TemporalTableStrategy strategy, String rowEndColumnName, boolean partitioned, String currentPartitionName, String historyPartitionName) MySQLTemporalTableSupport.getTemporalTableOptions(TemporalTableStrategy strategy, String rowEndColumnName, boolean partitioned, String currentPartition, String historyPartition) OracleTemporalTableSupport.getTemporalTableOptions(TemporalTableStrategy strategy, String rowEndColumnName, boolean partitioned, String currentPartition, String historyPartition) PostgreSQLTemporalTableSupport.getTemporalTableOptions(TemporalTableStrategy strategy, String rowEndColumnName, boolean partitioned, String currentPartitionName, String historyPartitionName) SQLServerTemporalTableSupport.getTemporalTableOptions(TemporalTableStrategy strategy, String rowEndColumnName, boolean partitioned, String currentPartitionName, String historyPartitionName) TemporalTableSupport.getTemporalTableOptions(TemporalTableStrategy strategy, String rowEndColumnName, boolean partitioned, String currentPartitionName, String historyPartitionName) Table options to use for temporal tables, used to specify system versioning or table partitioning.booleanDefaultTemporalTableSupport.useAsOfOperator(TemporalTableStrategy strategy) booleanOracleTemporalTableSupport.useAsOfOperator(TemporalTableStrategy strategy) booleanTemporalTableSupport.useAsOfOperator(TemporalTableStrategy strategy) Should be use thefor system_time as ofoperator when querying temporal tables? We usually only use it for querying native temporal tables at a historical instant, but in Oracle we use it all the time. -
Uses of TemporalTableStrategy in org.hibernate.temporal
Subclasses with type arguments of type TemporalTableStrategy in org.hibernate.temporalModifier and TypeClassDescriptionenumEnumerates the possible mapping strategies for temporal entities and collections.Methods in org.hibernate.temporal that return TemporalTableStrategyModifier and TypeMethodDescriptionstatic TemporalTableStrategyReturns the enum constant of this class with the specified name.static TemporalTableStrategy[]TemporalTableStrategy.values()Returns an array containing the constants of this enum class, in the order they are declared.