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

io.ebean.config.dbplatform.DbStandardHistorySupport Maven / Gradle / Ivy

There is a newer version: 15.8.1
Show newest version
package io.ebean.config.dbplatform;

/**
 * SQL2011 based history support using 'as of timestamp' type clause appended as part of the the from or join clause.
 */
public abstract class DbStandardHistorySupport implements DbHistorySupport {

  @Override
  public boolean isStandardsBased() {
    return true;
  }

  /**
   * Return 1 as the bind count (not 2 for effective start and effective end columns).
   */
  @Override
  public int getBindCount() {
    return 1;
  }

  /**
   * Return null - not used for sql2011 based history.
   */
  @Override
  public String getAsOfPredicate(String tableAlias, String sysPeriod) {
    // not used for sql2011 based history
    return null;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy