Class AbstractSql2008Backend

All Implemented Interfaces:
Backend

public abstract class AbstractSql2008Backend extends AbstractSql2003Backend
Common to all SQL2008 backends.
Author:
harald
  • Field Details

  • Constructor Details

    • AbstractSql2008Backend

      public AbstractSql2008Backend()
      Parent constructor.
  • Method Details

    • buildSelectSql

      public void buildSelectSql(StringBuilder sqlBuilder, boolean writeLock, int limit, int offset)
      Description copied from interface: Backend
      Creates a select statement string from an inner sql string.

      sqlBuilder is anything as [SELECT] FROM... WHERE... ORDER BY....
      It is decorated with a leading SELECT, if missing, plus optional clauses like for the given parameters.

      Specified by:
      buildSelectSql in interface Backend
      Overrides:
      buildSelectSql in class AbstractSql2003Backend
      Parameters:
      sqlBuilder - the sql builder, initially containing the inner sql without leading SELECT.
      writeLock - true select should write lock
      limit - the limit value, ≤ 0 if no limit clause
      offset - the offset value, ≤ 0 if no offset clause