Class SQLServer16SequenceSupport

All Implemented Interfaces:
SequenceSupport

public class SQLServer16SequenceSupport extends SQLServerSequenceSupport
  • Field Details

  • Constructor Details

    • SQLServer16SequenceSupport

      public SQLServer16SequenceSupport()
  • Method Details

    • getDropSequenceString

      public String getDropSequenceString(String sequenceName) throws MappingException
      Description copied from interface: SequenceSupport
      Typically, dialects which support sequences can drop a sequence with a single command. This is a convenience form of SequenceSupport.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.