Class DB2SequenceMaxValueIncrementer
- java.lang.Object
- org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
- org.springframework.jdbc.support.incrementer.AbstractSequenceMaxValueIncrementer
- org.springframework.jdbc.support.incrementer.Db2LuwMaxValueIncrementer
- org.springframework.jdbc.support.incrementer.DB2SequenceMaxValueIncrementer
- All Implemented Interfaces:
InitializingBean
,DataFieldMaxValueIncrementer
@Deprecated public class DB2SequenceMaxValueIncrementer extends Db2LuwMaxValueIncrementer
Deprecated.in favor of the specifically namedDb2LuwMaxValueIncrementer
DataFieldMaxValueIncrementer
that retrieves the next value of a given sequence on DB2 LUW (for Linux, Unix and Windows).Thanks to Mark MacMahon for the suggestion!
- Since:
- 1.1.3
- Author:
- Juergen Hoeller
Field Summary
Fields inherited from class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
paddingLength
Constructor Summary
Constructors Constructor Description DB2SequenceMaxValueIncrementer()
Deprecated.Default constructor for bean property style usage.DB2SequenceMaxValueIncrementer(DataSource dataSource, String incrementerName)
Deprecated.Convenience constructor.
Method Summary
Methods inherited from class org.springframework.jdbc.support.incrementer.Db2LuwMaxValueIncrementer
getSequenceQuery
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 Detail
DB2SequenceMaxValueIncrementer
public DB2SequenceMaxValueIncrementer()
Deprecated.Default constructor for bean property style usage.
DB2SequenceMaxValueIncrementer
public DB2SequenceMaxValueIncrementer(DataSource dataSource, String incrementerName)
Deprecated.Convenience constructor.- Parameters:
dataSource
- the DataSource to useincrementerName
- the name of the sequence/table to use