public class MssqlDialect extends Mssql2008Dialect
| Modifier and Type | Class and Description |
|---|---|
static class |
MssqlDialect.MssqlExpressionFunctions |
static class |
MssqlDialect.MssqlJdbcMappingVisitor |
static class |
MssqlDialect.MssqlScriptBlockContext |
static class |
MssqlDialect.MssqlSqlLogFormattingVisitor |
Mssql2008Dialect.Mssql2008CriteriaBuilder, Mssql2008Dialect.Mssql2008ExpressionFunctions, Mssql2008Dialect.Mssql2008JdbcMappingVisitor, Mssql2008Dialect.Mssql2008ScriptBlockContext, Mssql2008Dialect.Mssql2008SqlLogFormattingVisitorStandardDialect.StandardCriteriaBuilder, StandardDialect.StandardExpressionFunctions, StandardDialect.StandardJdbcMappingVisitor, StandardDialect.StandardScriptBlockContext, StandardDialect.StandardSqlLogFormattingVisitorCLOSE_QUOTE, OPEN_QUOTE, UNIQUE_CONSTRAINT_VIOLATION_ERROR_CODEexpressionFunctions, jdbcMappingVisitor, sqlLogFormattingVisitor, UNIQUE_CONSTRAINT_VIOLATION_STATE_CODES| Constructor and Description |
|---|
MssqlDialect() |
MssqlDialect(ExpressionFunctions expressionFunctions) |
MssqlDialect(JdbcMappingVisitor jdbcMappingVisitor) |
MssqlDialect(JdbcMappingVisitor jdbcMappingVisitor,
SqlLogFormattingVisitor sqlLogFormattingVisitor) |
MssqlDialect(JdbcMappingVisitor jdbcMappingVisitor,
SqlLogFormattingVisitor sqlLogFormattingVisitor,
ExpressionFunctions expressionFunctions) |
MssqlDialect(JdbcMappingVisitor jdbcMappingVisitor,
SqlLogFormattingVisitor sqlLogFormattingVisitor,
ExpressionFunctions expressionFunctions,
boolean pagingForceOffsetFetch) |
MssqlDialect(SqlLogFormattingVisitor sqlLogFormattingVisitor) |
| Modifier and Type | Method and Description |
|---|---|
ScriptBlockContext |
createScriptBlockContext()
Creates the context object to process an SQL block in a script.
|
java.lang.String |
getName()
The dialect name.
|
PreparedSql |
getSequenceNextValSql(java.lang.String qualifiedSequenceName,
long allocationSize)
Returns an SQL object to get next sequence values.
|
UpsertAssembler |
getUpsertAssembler(UpsertAssemblerContext context)
Returns the UpsertAssembler implementation for the given context.
|
boolean |
supportsSequence()
Whether this object supports the SEQUENCE.
|
protected SqlNode |
toForUpdateSqlNode(SqlNode sqlNode,
SelectForUpdateType forUpdateType,
int waitSeconds,
java.lang.String... aliases) |
protected SqlNode |
toPagingSqlNode(SqlNode sqlNode,
long offset,
long limit) |
applyQuote, getCriteriaBuilder, getScriptBlockDelimiter, isUniqueConstraintViolated, supportsAliasInDeleteClause, supportsAliasInUpdateClause, supportsAutoGeneratedKeys, supportsIdentity, supportsSelectForUpdategetAutoGeneratedKeysType, getCauseSQLException, getErrorCode, getExpressionFunctions, getIdentityReservationSql, getIdentitySelectSql, getJdbcMappingVisitor, getResultSetType, getRootCause, getSqlLogFormattingVisitor, getSQLState, includesIdentityColumn, removeQuote, supportsBatchUpdateResults, supportsIdentityReservation, supportsResultSetReturningAsOutParameter, toCountCalculatingSqlNode, toCountGettingSqlNode, transformSelectSqlNode, transformSelectSqlNodeForGettingCountclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsBatchExecutionReturningGeneratedValues, supportsModOperatorpublic MssqlDialect()
public MssqlDialect(JdbcMappingVisitor jdbcMappingVisitor)
public MssqlDialect(SqlLogFormattingVisitor sqlLogFormattingVisitor)
public MssqlDialect(ExpressionFunctions expressionFunctions)
public MssqlDialect(JdbcMappingVisitor jdbcMappingVisitor, SqlLogFormattingVisitor sqlLogFormattingVisitor)
public MssqlDialect(JdbcMappingVisitor jdbcMappingVisitor, SqlLogFormattingVisitor sqlLogFormattingVisitor, ExpressionFunctions expressionFunctions)
public MssqlDialect(JdbcMappingVisitor jdbcMappingVisitor, SqlLogFormattingVisitor sqlLogFormattingVisitor, ExpressionFunctions expressionFunctions, boolean pagingForceOffsetFetch)
public java.lang.String getName()
DialectgetName in interface DialectgetName in class Mssql2008Dialectprotected SqlNode toForUpdateSqlNode(SqlNode sqlNode, SelectForUpdateType forUpdateType, int waitSeconds, java.lang.String... aliases)
toForUpdateSqlNode in class Mssql2008Dialectprotected SqlNode toPagingSqlNode(SqlNode sqlNode, long offset, long limit)
toPagingSqlNode in class Mssql2008Dialectpublic PreparedSql getSequenceNextValSql(java.lang.String qualifiedSequenceName, long allocationSize)
DialectThis method is available, only if Dialect.supportsSequence() returns true.
getSequenceNextValSql in interface DialectgetSequenceNextValSql in class StandardDialectqualifiedSequenceName - the qualified sequence nameallocationSize - the allocation size of the sequencepublic boolean supportsSequence()
DialectsupportsSequence in interface DialectsupportsSequence in class StandardDialecttrue, if this object supports itpublic ScriptBlockContext createScriptBlockContext()
DialectcreateScriptBlockContext in interface DialectcreateScriptBlockContext in class Mssql2008Dialectpublic UpsertAssembler getUpsertAssembler(UpsertAssemblerContext context)
DialectgetUpsertAssembler in interface DialectgetUpsertAssembler in class StandardDialectcontext - the UpsertAssemblerContext object