Class SqlServer17Platform
- java.lang.Object
-
- io.ebean.config.dbplatform.DatabasePlatform
-
- io.ebean.config.dbplatform.sqlserver.SqlServer17Platform
-
public class SqlServer17Platform extends io.ebean.config.dbplatform.DatabasePlatform
Microsoft SQL Server platform - NVarchar UTF types and Sequence preference.
-
-
Constructor Summary
Constructors Constructor Description SqlServer17Platform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(PlatformConfig config)Configure the platform given the server configuration.io.ebean.config.dbplatform.PlatformIdGeneratorcreateSequenceIdGenerator(BackgroundExecutor be, DataSource ds, int stepSize, String seqName)Create a Postgres specific sequence IdGenerator.StringfromForUpdate(Query.ForUpdate forUpdateMode)For update is part of the FROM clause on the base table for sql server.-
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, getMaxTableNameLength, getName, getOnQueryOnly, getOpenQuote, getPersistBatchOnCascade, getPlatform, getSqlLimiter, isCaseSensitiveCollation, isDdlAutoCommit, isForwardOnlyHintOnFindIterate, isIdInExpandedForm, isInlineSqlUpdateLimit, isNativeArrayType, isNativeUuidType, isPlatform, isSelectCountWithAlias, isSelectCountWithColumnAlias, isSequenceBatchMode, isSupportsDeleteTableAlias, isSupportsNativeIlike, isSupportsResultSetConcurrencyModeUpdatable, isSupportsSavepointId, isTreatEmptyStringsAsNull, schemaExists, setColumnAliasPrefix, setDbEncrypt, setDbFalseLiteral, setDbTrueLiteral, setForwardOnlyHintOnFindIterate, setHistorySupport, setOnQueryOnly, setSequenceBatchMode, setSupportsResultSetConcurrencyModeUpdatable, tableExists, tablePartitionInit, tablePartitionsExist, translate, truncateStatement, unQuote, useExtraTransactionOnIterateSecondaryQueries
-
-
-
-
Constructor Detail
-
SqlServer17Platform
public SqlServer17Platform()
-
-
Method Detail
-
configure
public void configure(PlatformConfig config)
Description copied from class:io.ebean.config.dbplatform.DatabasePlatformConfigure the platform given the server configuration.- Overrides:
configurein classio.ebean.config.dbplatform.DatabasePlatform
-
createSequenceIdGenerator
public io.ebean.config.dbplatform.PlatformIdGenerator createSequenceIdGenerator(BackgroundExecutor be, DataSource ds, int stepSize, String seqName)
Create a Postgres specific sequence IdGenerator.- Overrides:
createSequenceIdGeneratorin classio.ebean.config.dbplatform.DatabasePlatform- 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
public String fromForUpdate(Query.ForUpdate forUpdateMode)
For update is part of the FROM clause on the base table for sql server.- Overrides:
fromForUpdatein classio.ebean.config.dbplatform.DatabasePlatform
-
-