Top Description Fields Constructors Methods
org.hibernate.dialect.sequence

public final Class H2V2SequenceSupport

extends ANSISequenceSupport
Class Inheritance

Sequence support for org.hibernate.dialect.H2Dialect.
Author
Gavin King

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.ANSISequenceSupport:
getSelectSequenceNextValStringgetSelectSequencePreviousValString

Field Detail

INSTANCEback to summary
public static final SequenceSupport INSTANCE

Hides org.hibernate.dialect.sequence.ANSISequenceSupport.INSTANCE.

Constructor Detail

H2V2SequenceSupportback to summary
public H2V2SequenceSupport()

Method Detail

getDropSequenceStringback to summary
public String getDropSequenceString(String sequenceName)

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