Db2LuwMaxValueIncrementer
@Deprecated public class DB2SequenceMaxValueIncrementer extends Db2LuwMaxValueIncrementer
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!
paddingLength
Constructor and Description |
---|
DB2SequenceMaxValueIncrementer()
Deprecated.
Default constructor for bean property style usage.
|
DB2SequenceMaxValueIncrementer(javax.sql.DataSource dataSource,
java.lang.String incrementerName)
Deprecated.
Convenience constructor.
|
getSequenceQuery
getNextKey
afterPropertiesSet, getDataSource, getIncrementerName, getPaddingLength, nextIntValue, nextLongValue, nextStringValue, setDataSource, setIncrementerName, setPaddingLength
public DB2SequenceMaxValueIncrementer()
public DB2SequenceMaxValueIncrementer(javax.sql.DataSource dataSource, java.lang.String incrementerName)
dataSource
- the DataSource to useincrementerName
- the name of the sequence/table to use