Top Fields Constructors Methods
org.hibernate.dialect.sequence

public Class SQLServer16SequenceSupport

extends SQLServerSequenceSupport
Class Inheritance
Imports
org.hibernate.MappingException

Field Summary

Modifier and TypeField and Description
public static final SequenceSupport

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getDropSequenceString(String
The name of the sequence
sequenceName
)

Overrides default org.hibernate.dialect.sequence.SequenceSupport.getDropSequenceString.

Typically dialects which support sequences can drop a sequence with a single command.
Inherited from org.hibernate.dialect.sequence.SQLServerSequenceSupport:
getSequencePreviousValString

Field Detail

INSTANCEback to summary
public static final SequenceSupport INSTANCE

Hides org.hibernate.dialect.sequence.SQLServerSequenceSupport.INSTANCE.

Constructor Detail

SQLServer16SequenceSupportback to summary
public SQLServer16SequenceSupport()

Method Detail

getDropSequenceStringback to summary
public String getDropSequenceString(String sequenceName) throws MappingException

Overrides default org.hibernate.dialect.sequence.SequenceSupport.getDropSequenceString.

Doc from org.hibernate.dialect.sequence.SequenceSupport.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
Exceptions
MappingException:
If sequences are not supported.