Class PostgreSQLLegacySequenceSupport
- java.lang.Object
-
- org.hibernate.community.dialect.sequence.PostgreSQLLegacySequenceSupport
-
- All Implemented Interfaces:
org.hibernate.dialect.sequence.SequenceSupport
public class PostgreSQLLegacySequenceSupport extends Object implements org.hibernate.dialect.sequence.SequenceSupport
Sequence support forPostgreSQLDialect.
-
-
Field Summary
Fields Modifier and Type Field Description static org.hibernate.dialect.sequence.SequenceSupportINSTANCEstatic org.hibernate.dialect.sequence.SequenceSupportLEGACY_INSTANCE
-
Constructor Summary
Constructors Constructor Description PostgreSQLLegacySequenceSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDropSequenceString(String sequenceName)StringgetSelectSequenceNextValString(String sequenceName)StringgetSelectSequencePreviousValString(String sequenceName)booleansometimesNeedsStartingValue()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.dialect.sequence.SequenceSupport
getCreateSequenceString, getCreateSequenceString, getCreateSequenceStrings, getDropSequenceStrings, getFromDual, getSequenceNextValString, getSequenceNextValString, getSequencePreviousValString, startingValue, supportsPooledSequences, supportsSequences
-
-
-
-
Method Detail
-
getSelectSequenceNextValString
public String getSelectSequenceNextValString(String sequenceName)
- Specified by:
getSelectSequenceNextValStringin interfaceorg.hibernate.dialect.sequence.SequenceSupport
-
getSelectSequencePreviousValString
public String getSelectSequencePreviousValString(String sequenceName) throws org.hibernate.MappingException
- Specified by:
getSelectSequencePreviousValStringin interfaceorg.hibernate.dialect.sequence.SequenceSupport- Throws:
org.hibernate.MappingException
-
sometimesNeedsStartingValue
public boolean sometimesNeedsStartingValue()
- Specified by:
sometimesNeedsStartingValuein interfaceorg.hibernate.dialect.sequence.SequenceSupport
-
-