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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theIdentifierProcessingused for processingSqlIdentifierwhen converting them to SQL snippets or parameter names.Returns theEscaperused forLIKEvalue escaping.Obtain theSelectRenderContext.limit()Return theLimitClauseused by this dialect.lock()Return theLockClauseused by this dialect.Return theOrderByNullPrecedenceused by this dialect.Methods inherited from class org.springframework.data.relational.core.dialect.AbstractDialect
getAfterFromTable, getAfterOrderByMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.relational.core.dialect.Dialect
getArraySupport, getConverters, getExistsFunction, simpleTypes
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Constructor Details
-
SqlServerDialect
protected SqlServerDialect()
-
-
Method Details
-
getIdGeneration
-
limit
Description copied from interface:DialectReturn theLimitClauseused by this dialect.- Returns:
- the
LimitClauseused by this dialect.
-
lock
Description copied from interface:DialectReturn theLockClauseused by this dialect.- Returns:
- the
LockClauseused by this dialect.
-
getLikeEscaper
Description copied from interface:DialectReturns theEscaperused forLIKEvalue escaping.- Returns:
- the
Escaperused forLIKEvalue escaping.
-
getSelectContext
Description copied from interface:DialectObtain theSelectRenderContext.- Specified by:
getSelectContextin interfaceDialect- Overrides:
getSelectContextin classAbstractDialect- Returns:
- the
SelectRenderContext.
-
getIdentifierProcessing
Description copied from interface:DialectReturns theIdentifierProcessingused for processingSqlIdentifierwhen converting them to SQL snippets or parameter names.- Returns:
- the
IdentifierProcessing. Guaranteed to be not null.
-
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.
-
orderByNullHandling
Description copied from interface:DialectReturn theOrderByNullPrecedenceused by this dialect.- Returns:
- the
OrderByNullPrecedenceused by this dialect.
-