Class SqlServerDialect
java.lang.Object
org.springframework.data.relational.core.dialect.AbstractDialect
org.springframework.data.relational.core.dialect.SqlServerDialect
- All Implemented Interfaces:
Dialect
- Direct Known Subclasses:
JdbcSqlServerDialect
,SqlServerDialect
An SQL dialect for Microsoft SQL Server.
- Since:
- 1.1
- Author:
- Mark Paluch, Myeonghyeon Lee, Jens Schauder, Mikhail Polivakha
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns theIdentifierProcessing
used for processingSqlIdentifier
when converting them to SQL snippets or parameter names.Returns theEscaper
used forLIKE
value escaping.Obtain theSelectRenderContext
.limit()
Return theLimitClause
used by this dialect.lock()
Return theLockClause
used by this dialect.Return theOrderByNullPrecedence
used by this dialect.Methods inherited from class org.springframework.data.relational.core.dialect.AbstractDialect
getAfterFromTable, getAfterOrderBy
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.relational.core.dialect.Dialect
getArraySupport, getConverters, getExistsFunction, simpleTypes, supportsSingleQueryLoading
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Constructor Details
-
SqlServerDialect
protected SqlServerDialect()
-
-
Method Details
-
getIdGeneration
-
limit
Description copied from interface:Dialect
Return theLimitClause
used by this dialect.- Returns:
- the
LimitClause
used by this dialect.
-
lock
Description copied from interface:Dialect
Return theLockClause
used by this dialect.- Returns:
- the
LockClause
used by this dialect.
-
getLikeEscaper
Description copied from interface:Dialect
Returns theEscaper
used forLIKE
value escaping.- Returns:
- the
Escaper
used forLIKE
value escaping.
-
getSelectContext
Description copied from interface:Dialect
Obtain theSelectRenderContext
.- Specified by:
getSelectContext
in interfaceDialect
- Overrides:
getSelectContext
in classAbstractDialect
- Returns:
- the
SelectRenderContext
.
-
getIdentifierProcessing
Description copied from interface:Dialect
Returns theIdentifierProcessing
used for processingSqlIdentifier
when converting them to SQL snippets or parameter names.- Returns:
- the
IdentifierProcessing
. Guaranteed to be not null.
-
getInsertRenderContext
- Returns:
- an appropriate
InsertRenderContext
for that specific dialect. for most of the Dialects the default implementation will be valid, but, for example, in case ofSqlServerDialect
it is not.
-
orderByNullHandling
Description copied from interface:Dialect
Return theOrderByNullPrecedence
used by this dialect.- Returns:
- the
OrderByNullPrecedence
used by this dialect.
-