Class SqlServer17Platform
java.lang.Object
io.ebean.config.dbplatform.DatabasePlatform
io.ebean.config.dbplatform.sqlserver.SqlServer17Platform
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(PlatformConfig config) Configure the platform given the server configuration.createSequenceIdGenerator(BackgroundExecutor be, DataSource ds, int stepSize, String seqName) Create a Postgres specific sequence IdGenerator.fromForUpdate(Query.LockWait lockWait) For update is part of the FROM clause on the base table for sql server.booleanReturn true if migrations should use stored procedures.Methods inherited from class io.ebean.config.dbplatform.DatabasePlatform
completeSql, 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
-
Constructor Details
-
SqlServer17Platform
public SqlServer17Platform()
-
-
Method Details
-
configure
Description copied from class:DatabasePlatformConfigure the platform given the server configuration.- Overrides:
configurein classDatabasePlatform
-
createSequenceIdGenerator
public PlatformIdGenerator createSequenceIdGenerator(BackgroundExecutor be, DataSource ds, int stepSize, String seqName) Create a Postgres specific sequence IdGenerator.- Overrides:
createSequenceIdGeneratorin classDatabasePlatform- Parameters:
be- the BackgroundExecutor that can be used to load the sequence if desiredds- the DataSourcestepSize- the sequence allocation size as defined by mapping (defaults to 50)seqName- the name of the sequence
-
fromForUpdate
For update is part of the FROM clause on the base table for sql server.- Overrides:
fromForUpdatein classDatabasePlatform
-
isUseMigrationStoredProcedures
public boolean isUseMigrationStoredProcedures()Description copied from class:DatabasePlatformReturn true if migrations should use stored procedures.- Overrides:
isUseMigrationStoredProceduresin classDatabasePlatform
-