Class TemporaryTableStrategies

java.lang.Object
org.hibernate.dialect.temptable.spi.TemporaryTableStrategies

@SPI(USE) public final class TemporaryTableStrategies extends Object

Provides stable stock temporary-table strategies without exposing Hibernate's vendor-specific implementations.

Use one of these complete profiles only when its naming, DDL, column, and before/after-use behavior matches the database. Providers with different behavior should implement TemporaryTableStrategy or extend one of the supported standard family strategies.

Since:
8.0
See Also:
  • Method Details

    • db2Global

      @SPI(USE) public static TemporaryTableStrategy db2Global()
      Returns the stable DB2-family global temporary-table strategy.
      Since:
      8.0
    • hsqlLocal

      @SPI(USE) public static TemporaryTableStrategy hsqlLocal()
      Returns the stable HSQL-family local temporary-table strategy.
      Since:
      8.0
    • mysqlLocal

      @SPI(USE) public static TemporaryTableStrategy mysqlLocal()
      Returns the stable MySQL-family local temporary-table strategy.
      Since:
      8.0
    • oracleLocal

      @SPI(USE) public static TemporaryTableStrategy oracleLocal()
      Returns the stable Oracle-family local temporary-table strategy.
      Since:
      8.0
    • sqlServerLocal

      @SPI(USE) public static TemporaryTableStrategy sqlServerLocal()
      Returns the stable SQL Server-family local temporary-table strategy.
      Since:
      8.0