public class PostgresSequenceIdGenerator extends SequenceBatchIdGenerator
AUTO_UUID
Constructor and Description |
---|
PostgresSequenceIdGenerator(BackgroundExecutor be,
DataSource ds,
String seqName,
int batchSize)
Construct given a dataSource and sql to return the next sequence value.
|
Modifier and Type | Method and Description |
---|---|
String |
getSql(int batchSize) |
preAllocateIds
getName, isDbSequence, nextId
public PostgresSequenceIdGenerator(BackgroundExecutor be, DataSource ds, String seqName, int batchSize)
public String getSql(int batchSize)
getSql
in class SequenceIdGenerator
Copyright © 2019. All rights reserved.