Class SqlServerHistorySupport

java.lang.Object
io.ebean.config.dbplatform.DbStandardHistorySupport
io.ebean.platform.sqlserver.SqlServerHistorySupport
All Implemented Interfaces:
DbHistorySupport

public class SqlServerHistorySupport extends DbStandardHistorySupport
History support only valid on SqlServer 2016 or later.
Author:
Vilmos Nagy
  • Constructor Details

    • SqlServerHistorySupport

      public SqlServerHistorySupport()
  • Method Details

    • getAsOfViewSuffix

      public String getAsOfViewSuffix(String asOfViewSuffix)
      Return the ' as of timestamp ?' clause appended after the table name.
    • getVersionsBetweenSuffix

      public String getVersionsBetweenSuffix(String asOfViewSuffix)
    • getSysPeriodLower

      public String getSysPeriodLower(String tableAlias, String sysPeriod)
      Returns the SQL Server specific effective start column.
    • getSysPeriodUpper

      public String getSysPeriodUpper(String tableAlias, String sysPeriod)
      Returns the SQL Server specific effective end column.