Top Description Constructors Methods
org.hibernate.dialect

public Class SQLServer2016Dialect

extends SQLServer2012Dialect
Class Inheritance

Microsoft SQL Server 2016 Dialect

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String[]
getDropSchemaCommand(String
The name of the schema to be dropped.
schemaName
)

Overrides org.hibernate.dialect.Dialect.getDropSchemaCommand.

Get the SQL command used to drop the named schema
public String
getDropSequenceString(String
The name of the sequence
sequenceName
)

Overrides org.hibernate.dialect.SQLServer2012Dialect.getDropSequenceString.

Typically dialects which support sequences can drop a sequence with a single command.
public boolean
supportsIfExistsBeforeConstraintName()

Overrides org.hibernate.dialect.Dialect.supportsIfExistsBeforeConstraintName.

For dropping a constraint with an "alter table", can the phrase "if exists" be applied before the constraint name?
public boolean
supportsIfExistsBeforeTableName()

Overrides org.hibernate.dialect.Dialect.supportsIfExistsBeforeTableName.

For dropping a table, can the phrase "if exists" be applied before the table name?
Inherited from org.hibernate.dialect.SQLServer2012Dialect:
getCreateSequenceStringgetDefaultLimitHandlergetQueryHintStringgetQuerySequencesStringgetSelectSequenceNextValStringgetSequenceExportergetSequenceNextValStringsupportsLimitOffsetsupportsPooledSequencessupportsSequences

Constructor Detail

SQLServer2016Dialectback to summary
public SQLServer2016Dialect()

Method Detail

getDropSchemaCommandback to summary
public String[] getDropSchemaCommand(String schemaName)

Overrides org.hibernate.dialect.Dialect.getDropSchemaCommand.

Doc from org.hibernate.dialect.Dialect.getDropSchemaCommand.

Get the SQL command used to drop the named schema

Parameters
schemaName:String

The name of the schema to be dropped.

Returns:String[]

The drop commands

Annotations
@Override
getDropSequenceStringback to summary
public String getDropSequenceString(String sequenceName)

Overrides org.hibernate.dialect.SQLServer2012Dialect.getDropSequenceString.

Doc from org.hibernate.dialect.Dialect.getDropSequenceString.

Typically dialects which support sequences can drop a sequence with a single command. This is convenience form of getDropSequenceStrings to help facilitate that.

Dialects which support sequences and can drop a sequence in a single command need *only* override this method. Dialects which support sequences but require multiple commands to drop a sequence should instead override getDropSequenceStrings.

Parameters
sequenceName:String

The name of the sequence

Returns:String

The sequence drop commands

Annotations
@Override
supportsIfExistsBeforeConstraintNameback to summary
public boolean supportsIfExistsBeforeConstraintName()

Overrides org.hibernate.dialect.Dialect.supportsIfExistsBeforeConstraintName.

Doc from org.hibernate.dialect.Dialect.supportsIfExistsBeforeConstraintName.

For dropping a constraint with an "alter table", can the phrase "if exists" be applied before the constraint name?

NOTE : Only one or the other (or neither) of this and supportsIfExistsAfterConstraintName should return true

Returns:boolean

true if the "if exists" can be applied before the constraint name

Annotations
@Override
supportsIfExistsBeforeTableNameback to summary
public boolean supportsIfExistsBeforeTableName()

Overrides org.hibernate.dialect.Dialect.supportsIfExistsBeforeTableName.

Doc from org.hibernate.dialect.Dialect.supportsIfExistsBeforeTableName.

For dropping a table, can the phrase "if exists" be applied before the table name?

NOTE : Only one or the other (or neither) of this and supportsIfExistsAfterTableName should return true

Returns:boolean

true if the "if exists" can be applied before the table name

Annotations
@Override