java.lang.Object
io.ebean.config.dbplatform.SequenceIdGenerator
io.ebean.config.dbplatform.SequenceBatchIdGenerator
io.ebean.platform.h2.H2SequenceIdGenerator
- All Implemented Interfaces:
PlatformIdGenerator
H2 specific sequence Id Generator.
-
Field Summary
Fields inherited from class io.ebean.config.dbplatform.SequenceIdGenerator
allocationSize, backgroundExecutor, currentlyBackgroundLoading, dataSource, idList, log, seqNameFields inherited from interface io.ebean.config.dbplatform.PlatformIdGenerator
AUTO_UUID -
Constructor Summary
ConstructorsConstructorDescriptionH2SequenceIdGenerator(BackgroundExecutor be, DataSource ds, String seqName, int batchSize) Construct given a dataSource and sql to return the next sequence value. -
Method Summary
Methods inherited from class io.ebean.config.dbplatform.SequenceBatchIdGenerator
preAllocateIds, readIdsMethods inherited from class io.ebean.config.dbplatform.SequenceIdGenerator
getMoreIds, getName, isDbSequence, loadInBackground, nextId
-
Constructor Details
-
H2SequenceIdGenerator
Construct given a dataSource and sql to return the next sequence value.
-
-
Method Details
-
getSql
- Specified by:
getSqlin classSequenceIdGenerator
-