Class SequenceSupports
java.lang.Object
org.hibernate.dialect.sequence.spi.SequenceSupports
Provides stable stock sequence-support strategies without exposing Hibernate's vendor-specific implementations.
Use none() for a database without sequence support. Use ansi(),
nextval(), or db2() only when the corresponding complete grammar
matches the database. Providers with different behavior should implement
SequenceSupport or extend one of the supported family bases.
- Since:
- 8.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic SequenceSupportansi()Return the stable ANSInext value forstrategy.static SequenceSupportdb2()Return the stable Db2/Derby family strategy.static SequenceSupportnextval()Return the stablesequence.nextvalstrategy.static SequenceSupportnone()Return the stable strategy which rejects every sequence operation.
-
Method Details
-
none
Return the stable strategy which rejects every sequence operation. -
ansi
Return the stable ANSInext value forstrategy. -
nextval
Return the stablesequence.nextvalstrategy. -
db2
Return the stable Db2/Derby family strategy.
-