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) |
preAllocateIdsgetName, isDbSequence, nextIdpublic PostgresSequenceIdGenerator(BackgroundExecutor be, DataSource ds, String seqName, int batchSize)
public String getSql(int batchSize)
getSql in class SequenceIdGeneratorCopyright © 2019. All rights reserved.