Class SqlServerDialect
java.lang.Object
org.springframework.data.relational.core.dialect.AbstractDialect
org.springframework.data.relational.core.dialect.SqlServerDialect
- All Implemented Interfaces:
Dialect
An SQL dialect for Microsoft SQL Server.
- Since:
- 1.1
- Author:
- Mark Paluch, Myeonghyeon Lee, Jens Schauder, Mikhail Polivakha
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SqlServerDialectDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns thehandling of table- and column names (identifiers)used for processingSqlIdentifierwhen converting them to SQL snippets or parameter names.Returns theIdGenerationused for generating identifiers.Returns theEscaperused forLIKEvalue escaping.Obtain theSelectRenderContext.Returns anUpsertRenderContextfor single-statement upsert.limit()Return theLimitClauseused by this dialect.lock()Return theLockClauseused by this dialect.Return theOrderByNullPrecedenceused by this dialect.Methods inherited from class AbstractDialect
getAfterFromTable, getAfterOrderByMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Dialect
getArraySupport, getConverters, getExistsFunction, getName, simpleTypes, supportsSingleQueryLoading
-
Field Details
-
INSTANCE
Deprecated, for removal: This API element is subject to removal in a future version.use either theorg.springframework.data.r2dbc.dialect.SqlServerDialectororg.springframework.data.jdbc.core.dialect.JdbcSqlServerDialect.Singleton instance.
-
-
Constructor Details
-
SqlServerDialect
protected SqlServerDialect()
-
-
Method Details
-
getIdentifierProcessing
Description copied from interface:DialectReturns thehandling of table- and column names (identifiers)used for processingSqlIdentifierwhen converting them to SQL snippets or parameter names.- Returns:
- the
IdentifierProcessing. Guaranteed to be not null.
-
getIdGeneration
Description copied from interface:DialectReturns theIdGenerationused for generating identifiers.- Returns:
- the
IdGenerationused for generating identifiers.
-
lock
Description copied from interface:DialectReturn theLockClauseused by this dialect.- Returns:
- the
LockClauseused by this dialect.
-
getLikeEscaper
-
limit
Description copied from interface:DialectReturn theLimitClauseused by this dialect.- Returns:
- the
LimitClauseused by this dialect.
-
orderByNullHandling
Description copied from interface:DialectReturn theOrderByNullPrecedenceused by this dialect.- Returns:
- the
OrderByNullPrecedenceused by this dialect.
-
getSelectContext
Description copied from interface:DialectObtain theSelectRenderContext.- Specified by:
getSelectContextin interfaceDialect- Overrides:
getSelectContextin classAbstractDialect- Returns:
- the
SelectRenderContext.
-
getInsertRenderContext
- Returns:
- an appropriate
InsertRenderContextfor that specific dialect. for most of the Dialects the default implementation will be valid, but, for example, in case ofSqlServerDialectit is not.
-
getUpsertRenderContext
Description copied from interface:DialectReturns anUpsertRenderContextfor single-statement upsert.- Returns:
- the upsert render context, defaults to standard
MERGE.
-
org.springframework.data.r2dbc.dialect.SqlServerDialectororg.springframework.data.jdbc.core.dialect.JdbcSqlServerDialect.