Class SQLServerDialect
- java.lang.Object
-
- org.hibernate.dialect.Dialect
-
- org.hibernate.dialect.SQLServerDialect
-
- org.hibernate.dialect.SQLServer2005Dialect
-
- com.atlassian.confluence.impl.hibernate.dialect.SQLServerIntlDialectV5
-
- com.atlassian.confluence.impl.hibernate.dialect.SQLServerDialect
-
- All Implemented Interfaces:
org.hibernate.exception.spi.ConversionContext
public class SQLServerDialect extends SQLServerIntlDialectV5
The hibernate Dialect that's used for SQL Server.- Since:
- 6.1
-
-
Constructor Summary
Constructors Constructor Description SQLServerDialect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
applyLocksToSql(String arg0, org.hibernate.LockOptions arg1, Map<String,String[]> arg2)
String
getAddColumnString()
org.hibernate.hql.spi.id.MultiTableBulkIdStrategy
getDefaultMultiTableBulkIdStrategy()
String
getForUpdateString()
String
getNullColumnString()
ResultSet
getResultSet(CallableStatement arg0)
String
getSelectGUIDString()
boolean
isCurrentTimestampSelectStringCallable()
boolean
qualifyIndexName()
int
registerResultSetOutParameter(CallableStatement arg0, int arg1)
boolean
supportsCurrentTimestampSelection()
boolean
supportsEmptyInList()
boolean
supportsExistsInSelect()
boolean
supportsPartitionBy()
boolean
supportsTupleDistinctCounts()
boolean
supportsTuplesInSubqueries()
boolean
supportsUnionAll()
-
Methods inherited from class org.hibernate.dialect.SQLServer2005Dialect
appendLockHint, buildSQLExceptionConversionDelegate, getDefaultLimitHandler, supportsNonQueryWithCTE, supportsNoWait, supportsSkipLocked
-
Methods inherited from class org.hibernate.dialect.SQLServerDialect
areStringComparisonsCaseInsensitive, buildIdentifierHelper, closeQuote, doesReadCommittedCauseWritersToBlockReaders, doesRepeatableReadCauseReadersToBlockWriters, getCreateTemporaryTableColumnAnnotation, getCurrentSchemaCommand, getCurrentTimestampSelectString, getIdentityColumnSupport, getInExpressionCountLimit, getLimitHandler, getLimitString, getNameQualifierSupport, getNoColumnsInsertString, getSqlTypeDescriptorOverride, openQuote, supportsCircularCascadeDeleteConstraints, supportsLimit, supportsLimitOffset, supportsLobValueChangePropogation, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsVariableLimit, useMaxForLimit
-
Methods inherited from class org.hibernate.dialect.Dialect
addSqlHintOrComment, appendLockHint, augmentPhysicalTableTypes, augmentRecognizedTableTypes, bindLimitParametersFirst, bindLimitParametersInReverseOrder, buildSQLExceptionConverter, canCreateCatalog, canCreateSchema, cast, cast, cast, contributeTypes, convertToFirstRowValue, createCaseFragment, createOuterJoinFragment, defaultScrollMode, dropConstraints, equivalentTypes, escapeComment, escapeLiteral, forceLimitUsage, forceLobAsLastValue, forUpdateOfColumns, getAddColumnSuffixString, getAddForeignKeyConstraintString, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getAddUniqueConstraintString, getAlterTableString, getAuxiliaryDatabaseObjectExporter, getCallableStatementSupport, getCascadeConstraintsString, getCaseInsensitiveLike, getCastTypeName, getColumnAliasExtractor, getColumnComment, getCreateCatalogCommand, getCreateMultisetTableString, getCreateSchemaCommand, getCreateSequenceString, getCreateSequenceString, getCreateSequenceStrings, getCreateSequenceStrings, getCreateTableString, getCrossJoinSeparator, getCurrentTimestampSQLFunctionName, getDefaultBatchLoadSizingStrategy, getDefaultProperties, getDialect, getDialect, getDropCatalogCommand, getDropForeignKeyString, getDropSchemaCommand, getDropSequenceString, getDropSequenceStrings, getDropTableString, getForeignKeyExporter, getForUpdateNowaitString, getForUpdateNowaitString, getForUpdateSkipLockedString, getForUpdateSkipLockedString, getForUpdateString, getForUpdateString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIndexExporter, getKeywords, getLimitString, getLobMergeStrategy, getLockingStrategy, getLowercaseFunction, getMaxAliasLength, getNativeIdentifierGeneratorClass, getNativeIdentifierGeneratorStrategy, getNotExpression, getQueryHintString, getQueryHintString, getQuerySequencesString, getReadLockString, getReadLockString, getResultSet, getResultSet, getSchemaNameResolver, getSelectClauseNullString, getSelectSequenceNextValString, getSequenceExporter, getSequenceInformationExtractor, getSequenceNextValString, getTableComment, getTableExporter, getTableTypeString, getTypeName, getTypeName, getUniqueDelegate, getUniqueKeyExporter, getViolatedConstraintNameExtracter, getWriteLockString, getWriteLockString, hasAlterTable, hasSelfReferentialForeignKeyBug, inlineLiteral, isJdbcLogWarningsEnabledByDefault, isLegacyLimitHandlerBehaviorEnabled, isLockTimeoutParameterized, isTypeNameRegistered, prependComment, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, registerResultSetOutParameter, remapSqlTypeDescriptor, renderOrderByElement, replaceResultVariableInOrderByClauseWithPosition, requiresCastingOfParametersInSelectClause, requiresParensForTupleDistinctCounts, supportsBindAsCallableArgument, supportsCascadeDelete, supportsCaseInsensitiveLike, supportsColumnCheck, supportsCommentOn, supportsExpectedLobUsagePattern, supportsIfExistsAfterAlterTable, supportsIfExistsAfterConstraintName, supportsIfExistsAfterTableName, supportsIfExistsBeforeConstraintName, supportsIfExistsBeforeTableName, supportsJdbcConnectionLobCreation, supportsLockTimeouts, supportsNamedParameters, supportsNationalizedTypes, supportsNoColumnsInsert, supportsNotNullUnique, supportsOuterJoinForUpdate, supportsParametersInInsertSelect, supportsPooledSequences, supportsRowValueConstructorSyntax, supportsRowValueConstructorSyntaxInInList, supportsRowValueConstructorSyntaxInSet, supportsSelectAliasInGroupByClause, supportsSequences, supportsSubqueryOnMutatingTable, supportsSubselectAsInPredicateLHS, supportsTableCheck, supportsTupleCounts, supportsUnboundedLobLocatorMaterialization, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsValuesList, toBooleanValueString, toString, transformSelectString, useFollowOnLocking, useFollowOnLocking, useInputStreamToInsertBlob
-
-
-
-
Method Detail
-
getAddColumnString
public String getAddColumnString()
- Overrides:
getAddColumnString
in classorg.hibernate.dialect.Dialect
-
getNullColumnString
public String getNullColumnString()
- Overrides:
getNullColumnString
in classorg.hibernate.dialect.Dialect
-
qualifyIndexName
public boolean qualifyIndexName()
- Overrides:
qualifyIndexName
in classorg.hibernate.dialect.Dialect
-
getForUpdateString
public String getForUpdateString()
- Overrides:
getForUpdateString
in classorg.hibernate.dialect.Dialect
-
applyLocksToSql
public String applyLocksToSql(String arg0, org.hibernate.LockOptions arg1, Map<String,String[]> arg2)
- Overrides:
applyLocksToSql
in classorg.hibernate.dialect.Dialect
-
registerResultSetOutParameter
public int registerResultSetOutParameter(CallableStatement arg0, int arg1) throws SQLException
- Overrides:
registerResultSetOutParameter
in classorg.hibernate.dialect.Dialect
- Throws:
SQLException
-
getResultSet
public ResultSet getResultSet(CallableStatement arg0) throws SQLException
- Overrides:
getResultSet
in classorg.hibernate.dialect.Dialect
- Throws:
SQLException
-
supportsCurrentTimestampSelection
public boolean supportsCurrentTimestampSelection()
- Overrides:
supportsCurrentTimestampSelection
in classorg.hibernate.dialect.Dialect
-
isCurrentTimestampSelectStringCallable
public boolean isCurrentTimestampSelectStringCallable()
- Overrides:
isCurrentTimestampSelectStringCallable
in classorg.hibernate.dialect.Dialect
-
getDefaultMultiTableBulkIdStrategy
public org.hibernate.hql.spi.id.MultiTableBulkIdStrategy getDefaultMultiTableBulkIdStrategy()
- Overrides:
getDefaultMultiTableBulkIdStrategy
in classorg.hibernate.dialect.Dialect
-
getSelectGUIDString
public String getSelectGUIDString()
- Overrides:
getSelectGUIDString
in classorg.hibernate.dialect.Dialect
-
supportsEmptyInList
public boolean supportsEmptyInList()
- Overrides:
supportsEmptyInList
in classorg.hibernate.dialect.Dialect
-
supportsUnionAll
public boolean supportsUnionAll()
- Overrides:
supportsUnionAll
in classorg.hibernate.dialect.Dialect
-
supportsExistsInSelect
public boolean supportsExistsInSelect()
- Overrides:
supportsExistsInSelect
in classorg.hibernate.dialect.Dialect
-
supportsTupleDistinctCounts
public boolean supportsTupleDistinctCounts()
- Overrides:
supportsTupleDistinctCounts
in classorg.hibernate.dialect.Dialect
-
supportsTuplesInSubqueries
public boolean supportsTuplesInSubqueries()
- Overrides:
supportsTuplesInSubqueries
in classorg.hibernate.dialect.Dialect
-
supportsPartitionBy
public boolean supportsPartitionBy()
- Overrides:
supportsPartitionBy
in classorg.hibernate.dialect.Dialect
-
-