All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebean.platform.hana.HanaHistorySupport Maven / Gradle / Ivy

There is a newer version: 15.6.0
Show newest version
package io.ebean.platform.hana;

import io.ebean.config.dbplatform.DbStandardHistorySupport;

final class HanaHistorySupport extends DbStandardHistorySupport {

  @Override
  public String getAsOfViewSuffix(String asOfViewSuffix) {
    return " for system_time as of ?";
  }

  @Override
  public String getVersionsBetweenSuffix(String asOfViewSuffix) {
    return " for system_time between ? and ?";
  }

  @Override
  public String getSysPeriodLower(String tableAlias, String sysPeriod) {
    return tableAlias + "." + sysPeriod + "_start";
  }

  @Override
  public String getSysPeriodUpper(String tableAlias, String sysPeriod) {
    return tableAlias + "." + sysPeriod + "_end";
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy