|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.avaje.ebean.config.dbplatform.SequenceIdGenerator com.avaje.ebean.config.dbplatform.PostgresSequenceIdGenerator
public class PostgresSequenceIdGenerator
Postgres specific sequence Id Generator.
Field Summary |
---|
Fields inherited from interface com.avaje.ebean.config.dbplatform.IdGenerator |
---|
AUTO_UUID |
Constructor Summary | |
---|---|
PostgresSequenceIdGenerator(BackgroundExecutor be,
DataSource ds,
String seqName,
int batchSize)
Construct given a dataSource and sql to return the next sequence value. |
Method Summary | |
---|---|
String |
getSql(int batchSize)
|
Methods inherited from class com.avaje.ebean.config.dbplatform.SequenceIdGenerator |
---|
getName, isDbSequence, nextId, preAllocateIds |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PostgresSequenceIdGenerator(BackgroundExecutor be, DataSource ds, String seqName, int batchSize)
Method Detail |
---|
public String getSql(int batchSize)
getSql
in class SequenceIdGenerator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |