Class SQLServer16SequenceSupport
java.lang.Object
org.hibernate.dialect.sequence.ANSISequenceSupport
org.hibernate.dialect.sequence.SQLServerSequenceSupport
org.hibernate.dialect.sequence.SQLServer16SequenceSupport
- All Implemented Interfaces:
SequenceSupport
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDropSequenceString(String sequenceName) Typically, dialects which support sequences can drop a sequence with a single command.Methods inherited from class SQLServerSequenceSupport
getSequencePreviousValStringMethods inherited from class ANSISequenceSupport
getSelectSequenceNextValString, getSelectSequencePreviousValStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SequenceSupport
getCreateSequenceString, getCreateSequenceString, getCreateSequenceStrings, getCreateSequenceStrings, getDropSequenceStrings, getFromDual, getRestartSequenceString, getSequenceNextValString, getSequenceNextValString, sometimesNeedsStartingValue, startingValue, supportsPooledSequences, supportsSequences
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
SQLServer16SequenceSupport
public SQLServer16SequenceSupport()
-
-
Method Details
-
getDropSequenceString
Description copied from interface:SequenceSupportTypically, dialects which support sequences can drop a sequence with a single command. This is a convenience form ofSequenceSupport.getDropSequenceStrings(String)which facilitates 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
SequenceSupport.getDropSequenceStrings(String).- Parameters:
sequenceName- The name of the sequence- Returns:
- The sequence drop commands
- Throws:
MappingException- If sequences are not supported.
-