Package io.ebean.config.dbplatform.db2
Class DB2SequenceIdGenerator
java.lang.Object
io.ebean.config.dbplatform.SequenceIdGenerator
io.ebean.config.dbplatform.SequenceBatchIdGenerator
io.ebean.config.dbplatform.db2.DB2SequenceIdGenerator
- All Implemented Interfaces:
PlatformIdGenerator
DB2 specific sequence Id Generator.
-
Field Summary
Fields inherited from interface io.ebean.config.dbplatform.PlatformIdGenerator
AUTO_UUID
-
Constructor Summary
ConstructorsConstructorDescriptionDB2SequenceIdGenerator(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
Methods inherited from class io.ebean.config.dbplatform.SequenceIdGenerator
getName, isDbSequence, nextId
-
Constructor Details
-
DB2SequenceIdGenerator
Construct given a dataSource and sql to return the next sequence value.
-
-
Method Details
-
getSql
- Specified by:
getSql
in classSequenceIdGenerator
-