Module io.ebean.api

Class SequenceBatchIdGenerator

java.lang.Object
io.ebean.config.dbplatform.SequenceIdGenerator
io.ebean.config.dbplatform.SequenceBatchIdGenerator
All Implemented Interfaces:
PlatformIdGenerator

public abstract class SequenceBatchIdGenerator extends SequenceIdGenerator
Database sequence based IdGenerator using Sequence Step 1 but batch fetch many sequence values.
  • Constructor Details

    • SequenceBatchIdGenerator

      public SequenceBatchIdGenerator(BackgroundExecutor be, DataSource ds, String seqName, int batchSize)
      Construct where batchSize is the sequence step size.
  • Method Details