Class OracleSequenceIdGenerator
- java.lang.Object
-
- io.ebean.config.dbplatform.SequenceIdGenerator
-
- io.ebean.config.dbplatform.SequenceBatchIdGenerator
-
- io.ebean.config.dbplatform.oracle.OracleSequenceIdGenerator
-
- All Implemented Interfaces:
PlatformIdGenerator
public class OracleSequenceIdGenerator extends SequenceBatchIdGenerator
Oracle specific sequence Id Generator.
-
-
Field Summary
-
Fields inherited from interface io.ebean.config.dbplatform.PlatformIdGenerator
AUTO_UUID
-
-
Constructor Summary
Constructors Constructor Description OracleSequenceIdGenerator(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)
-
Methods inherited from class io.ebean.config.dbplatform.SequenceBatchIdGenerator
preAllocateIds
-
Methods inherited from class io.ebean.config.dbplatform.SequenceIdGenerator
getName, isDbSequence, nextId
-
-
-
-
Constructor Detail
-
OracleSequenceIdGenerator
public OracleSequenceIdGenerator(BackgroundExecutor be, DataSource ds, String seqName, int batchSize)
Construct given a dataSource and sql to return the next sequence value.
-
-
Method Detail
-
getSql
public String getSql(int batchSize)
- Specified by:
getSql
in classSequenceIdGenerator
-
-