PostgresSequenceMaxValueIncrementer
@Deprecated public class PostgreSQLSequenceMaxValueIncrementer extends PostgresSequenceMaxValueIncrementer
DataFieldMaxValueIncrementer
that retrieves the next value
of a given PostgreSQL sequence.
Thanks to Tomislav Urban for the suggestion!
paddingLength
Constructor and Description |
---|
PostgreSQLSequenceMaxValueIncrementer()
Deprecated.
Default constructor for bean property style usage.
|
PostgreSQLSequenceMaxValueIncrementer(DataSource dataSource,
String incrementerName)
Deprecated.
Convenience constructor.
|
getSequenceQuery
getNextKey
afterPropertiesSet, getDataSource, getIncrementerName, getPaddingLength, nextIntValue, nextLongValue, nextStringValue, setDataSource, setIncrementerName, setPaddingLength
public PostgreSQLSequenceMaxValueIncrementer()
public PostgreSQLSequenceMaxValueIncrementer(DataSource dataSource, String incrementerName)
dataSource
- the DataSource to useincrementerName
- the name of the sequence/table to use