Class SqlServerSequenceMaxValueIncrementer
java.lang.Object
org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
org.springframework.jdbc.support.incrementer.AbstractSequenceMaxValueIncrementer
org.springframework.batch.item.database.support.SqlServerSequenceMaxValueIncrementer
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer
public class SqlServerSequenceMaxValueIncrementer
extends org.springframework.jdbc.support.incrementer.AbstractSequenceMaxValueIncrementer
Incrementer for SQL Server sequences.
- Since:
- 5.0
- Author:
- Mahmoud Ben Hassine
-
Field Summary
Fields inherited from class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
paddingLength
-
Constructor Summary
ConstructorDescriptionSqlServerSequenceMaxValueIncrementer
(DataSource dataSource, String incrementerName) -
Method Summary
Methods inherited from class org.springframework.jdbc.support.incrementer.AbstractSequenceMaxValueIncrementer
getNextKey
Methods inherited from class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
afterPropertiesSet, getDataSource, getIncrementerName, getPaddingLength, nextIntValue, nextLongValue, nextStringValue, setDataSource, setIncrementerName, setPaddingLength
-
Constructor Details
-
SqlServerSequenceMaxValueIncrementer
-
-
Method Details
-
getSequenceQuery
- Specified by:
getSequenceQuery
in classorg.springframework.jdbc.support.incrementer.AbstractSequenceMaxValueIncrementer
-