Class SqlServerStepSequence
- java.lang.Object
-
- io.ebean.config.dbplatform.SequenceIdGenerator
-
- io.ebean.config.dbplatform.SequenceStepIdGenerator
-
- io.ebean.config.dbplatform.sqlserver.SqlServerStepSequence
-
- All Implemented Interfaces:
PlatformIdGenerator
public class SqlServerStepSequence extends SequenceStepIdGenerator
-
-
Field Summary
-
Fields inherited from interface io.ebean.config.dbplatform.PlatformIdGenerator
AUTO_UUID
-
-
Constructor Summary
Constructors Constructor Description SqlServerStepSequence(BackgroundExecutor be, DataSource ds, String seqName, int stepSize)
Construct where batchSize is the sequence step size.
-
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.SequenceIdGenerator
getName, isDbSequence, nextId, preAllocateIds
-
-
-
-
Constructor Detail
-
SqlServerStepSequence
public SqlServerStepSequence(BackgroundExecutor be, DataSource ds, String seqName, int stepSize)
Construct where batchSize is the sequence step size.
-
-
Method Detail
-
getSql
public String getSql(int batchSize)
- Specified by:
getSql
in classSequenceIdGenerator
-
-