Class H2V2SequenceSupport

java.lang.Object
org.hibernate.dialect.sequence.ANSISequenceSupport
org.hibernate.dialect.sequence.H2V2SequenceSupport
All Implemented Interfaces:
SequenceSupport

public final class H2V2SequenceSupport extends ANSISequenceSupport
Sequence support for H2Dialect.
  • Field Details

  • Constructor Details

    • H2V2SequenceSupport

      public H2V2SequenceSupport()
  • Method Details

    • getDropSequenceString

      public String getDropSequenceString(String sequenceName)
      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(java.lang.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(java.lang.String).

      Parameters:
      sequenceName - The name of the sequence
      Returns:
      The sequence drop commands