Class SqlServer16Platform

java.lang.Object
io.ebean.config.dbplatform.DatabasePlatform
io.ebean.platform.sqlserver.SqlServer16Platform

public class SqlServer16Platform extends io.ebean.config.dbplatform.DatabasePlatform
Microsoft SQL Server platform that has non-UTF8 types (char, varchar, text) and default to Identity rather than Sequence.
  • Field Summary

    Fields inherited from class io.ebean.config.dbplatform.DatabasePlatform

    allQuotedIdentifiers, autoCommitFalseOnFindIterate, basicSqlLimiter, blobDbType, booleanDbType, caseSensitiveCollation, clobDbType, closeQuote, columnAliasPrefix, dbDefaultValue, dbEncrypt, dbIdentity, dbTypeMap, exceptionTranslator, forwardOnlyHintOnFindIterate, historySupport, idInExpandedForm, inlineSqlUpdateLimit, likeClauseEscaped, likeClauseRaw, likeEscapeChar, likeSpecialCharacters, maxConstraintNameLength, maxInBinding, maxTableNameLength, nativeUuidType, openQuote, persistBatchOnCascade, platform, selectCountWithAlias, selectCountWithColumnAlias, sequenceBatchMode, sequenceBatchSize, sqlLimiter, supportsDeleteTableAlias, supportsNativeIlike, supportsNativeJavaTime, supportsResultSetConcurrencyModeUpdatable, supportsSavepointId, truncateTable, useExtraTransactionOnIterateSecondaryQueries, useMigrationStoredProcedures
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(io.ebean.config.PlatformConfig config)
     
    io.ebean.config.dbplatform.PlatformIdGenerator
    createSequenceIdGenerator(io.ebean.BackgroundExecutor be, DataSource ds, int stepSize, String seqName)
    Create a Postgres specific sequence IdGenerator.
    protected void
     
    fromForUpdate(io.ebean.Query.LockWait lockWait)
    For update is part of the FROM clause on the base table for sql server.
    boolean
     
    protected String
    withForUpdate(String sql, io.ebean.Query.LockWait lockWait, io.ebean.Query.LockType lockType)
     

    Methods inherited from class io.ebean.config.dbplatform.DatabasePlatform

    addGeoTypes, autoCommitFalseOnFindIterate, basicSqlLimiter, blobDbType, booleanDbType, caseSensitiveCollation, clobDbType, closeQuote, columnAliasPrefix, completeSql, configure, configureIdType, convertQuotedIdentifiers, createSchemaIfNotExists, dbDefaultValue, dbEncrypt, dbIdentity, dbTypeMap, escapeLikeString, forwardOnlyHintOnFindIterate, historySupport, idInExpandedForm, inlineSqlComment, inlineSqlHint, inlineSqlUpdateLimit, isPlatform, likeClause, maxConstraintNameLength, maxInBinding, maxTableNameLength, name, nativeArrayType, nativeUuidType, openQuote, persistBatchOnCascade, platform, schemaExists, selectCountWithAlias, selectCountWithColumnAlias, sequenceBatchMode, setColumnAliasPrefix, setDbEncrypt, setDbFalseLiteral, setDbTrueLiteral, setForwardOnlyHintOnFindIterate, setHistorySupport, setSequenceBatchMode, setSupportsResultSetConcurrencyModeUpdatable, setUseMigrationStoredProcedures, sqlLimiter, supportsDeleteTableAlias, supportsNativeIlike, supportsNativeJavaTime, supportsResultSetConcurrencyModeUpdatable, supportsSavepointId, translate, truncateStatement, unQuote, useExtraTransactionOnIterateSecondaryQueries

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SqlServer16Platform

      public SqlServer16Platform()
  • Method Details

    • configure

      public void configure(io.ebean.config.PlatformConfig config)
      Overrides:
      configure in class io.ebean.config.dbplatform.DatabasePlatform
    • escapeLikeCharacter

      protected void escapeLikeCharacter(char ch, StringBuilder sb)
      Overrides:
      escapeLikeCharacter in class io.ebean.config.dbplatform.DatabasePlatform
    • createSequenceIdGenerator

      public io.ebean.config.dbplatform.PlatformIdGenerator createSequenceIdGenerator(io.ebean.BackgroundExecutor be, DataSource ds, int stepSize, String seqName)
      Create a Postgres specific sequence IdGenerator.
      Overrides:
      createSequenceIdGenerator in class io.ebean.config.dbplatform.DatabasePlatform
    • fromForUpdate

      public String fromForUpdate(io.ebean.Query.LockWait lockWait)
      For update is part of the FROM clause on the base table for sql server.
      Overrides:
      fromForUpdate in class io.ebean.config.dbplatform.DatabasePlatform
    • withForUpdate

      protected String withForUpdate(String sql, io.ebean.Query.LockWait lockWait, io.ebean.Query.LockType lockType)
      Overrides:
      withForUpdate in class io.ebean.config.dbplatform.DatabasePlatform
    • useMigrationStoredProcedures

      public boolean useMigrationStoredProcedures()
      Overrides:
      useMigrationStoredProcedures in class io.ebean.config.dbplatform.DatabasePlatform