- java.lang.Object
-
- io.ebean.config.dbplatform.DatabasePlatform
-
- io.ebean.platform.sqlserver.SqlServer17Platform
-
public class SqlServer17Platform extends DatabasePlatform
Microsoft SQL Server platform - NVarchar UTF types and Sequence preference.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.ebean.config.dbplatform.DatabasePlatform
DatabasePlatform.OnQueryOnly
-
-
Field Summary
-
Fields inherited from class io.ebean.config.dbplatform.DatabasePlatform
allQuotedIdentifiers, basicSqlLimiter, blobDbType, booleanDbType, caseSensitiveCollation, clobDbType, closeQuote, columnAliasPrefix, dbDefaultValue, dbEncrypt, dbIdentity, dbTypeMap, exceptionTranslator, forwardOnlyHintOnFindIterate, historySupport, idInExpandedForm, inlineSqlUpdateLimit, likeClauseEscaped, likeClauseRaw, likeEscapeChar, likeSpecialCharacters, maxConstraintNameLength, maxInBinding, maxTableNameLength, nativeUuidType, onQueryOnly, openQuote, persistBatchOnCascade, platform, selectCountWithAlias, selectCountWithColumnAlias, sequenceBatchMode, sequenceBatchSize, sqlLimiter, supportsDeleteTableAlias, supportsNativeIlike, supportsNativeJavaTime, supportsResultSetConcurrencyModeUpdatable, supportsSavepointId, treatEmptyStringsAsNull, truncateTable, useExtraTransactionOnIterateSecondaryQueries, useMigrationStoredProcedures
-
-
Constructor Summary
Constructors Constructor Description SqlServer17Platform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(PlatformConfig config)PlatformIdGeneratorcreateSequenceIdGenerator(BackgroundExecutor be, DataSource ds, int stepSize, String seqName)Create a Postgres specific sequence IdGenerator.protected voidescapeLikeCharacter(char ch, StringBuilder sb)StringfromForUpdate(Query.LockWait lockWait)For update is part of the FROM clause on the base table for sql server.booleanisUseMigrationStoredProcedures()protected StringwithForUpdate(String sql, Query.LockWait lockWait, Query.LockType lockType)-
Methods inherited from class io.ebean.config.dbplatform.DatabasePlatform
addGeoTypes, completeSql, configure, configureIdType, convertQuotedIdentifiers, createSchemaIfNotExists, escapeLikeString, getBasicSqlLimiter, getBlobDbType, getBooleanDbType, getClobDbType, getCloseQuote, getColumnAliasPrefix, getDbDefaultValue, getDbEncrypt, getDbIdentity, getDbTypeMap, getHistorySupport, getLikeClause, getMaxConstraintNameLength, getMaxInBinding, getMaxTableNameLength, getName, getOnQueryOnly, getOpenQuote, getPersistBatchOnCascade, getPlatform, getSqlLimiter, isCaseSensitiveCollation, isForwardOnlyHintOnFindIterate, isIdInExpandedForm, isInlineSqlUpdateLimit, isNativeArrayType, isNativeUuidType, isPlatform, isSelectCountWithAlias, isSelectCountWithColumnAlias, isSequenceBatchMode, isSupportsDeleteTableAlias, isSupportsNativeIlike, isSupportsResultSetConcurrencyModeUpdatable, isSupportsSavepointId, isTreatEmptyStringsAsNull, schemaExists, setColumnAliasPrefix, setDbEncrypt, setDbFalseLiteral, setDbTrueLiteral, setForwardOnlyHintOnFindIterate, setHistorySupport, setOnQueryOnly, setSequenceBatchMode, setSupportsResultSetConcurrencyModeUpdatable, setUseMigrationStoredProcedures, supportsNativeJavaTime, tableExists, tablePartitionInit, tablePartitionsExist, translate, truncateStatement, unQuote, useExtraTransactionOnIterateSecondaryQueries
-
-
-
-
Method Detail
-
configure
public void configure(PlatformConfig config)
- Overrides:
configurein classDatabasePlatform
-
escapeLikeCharacter
protected void escapeLikeCharacter(char ch, StringBuilder sb)- Overrides:
escapeLikeCharacterin classDatabasePlatform
-
createSequenceIdGenerator
public PlatformIdGenerator createSequenceIdGenerator(BackgroundExecutor be, DataSource ds, int stepSize, String seqName)
Create a Postgres specific sequence IdGenerator.- Overrides:
createSequenceIdGeneratorin classDatabasePlatform
-
fromForUpdate
public String fromForUpdate(Query.LockWait lockWait)
For update is part of the FROM clause on the base table for sql server.- Overrides:
fromForUpdatein classDatabasePlatform
-
withForUpdate
protected String withForUpdate(String sql, Query.LockWait lockWait, Query.LockType lockType)
- Overrides:
withForUpdatein classDatabasePlatform
-
isUseMigrationStoredProcedures
public boolean isUseMigrationStoredProcedures()
- Overrides:
isUseMigrationStoredProceduresin classDatabasePlatform
-
-