Class PostgresSequenceIdGenerator
- java.lang.Object
-
- io.ebean.config.dbplatform.SequenceIdGenerator
-
- io.ebean.config.dbplatform.SequenceBatchIdGenerator
-
- io.ebean.config.dbplatform.postgres.PostgresSequenceIdGenerator
-
- All Implemented Interfaces:
io.ebean.config.dbplatform.PlatformIdGenerator
public class PostgresSequenceIdGenerator extends io.ebean.config.dbplatform.SequenceBatchIdGenerator
Postgres specific sequence Id Generator.
-
-
Constructor Summary
Constructors Constructor Description PostgresSequenceIdGenerator(BackgroundExecutor be, DataSource ds, String seqName, int batchSize)
Construct given a dataSource and sql to return the next sequence value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSql(int batchSize)
-
-
-
Constructor Detail
-
PostgresSequenceIdGenerator
public PostgresSequenceIdGenerator(BackgroundExecutor be, DataSource ds, String seqName, int batchSize)
Construct given a dataSource and sql to return the next sequence value.
-
-