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!
Db2MainframeMaxValueIncrementer
| Access | Constructor and Description |
|---|---|
| public | |
| public | Db2LuwMaxValueIncrementer(DataSource
the DataSource to use dataSource, String the name of the sequence/table to use incrementerName)Convenience constructor. |
| Modifier and Type | Method and Description |
|---|---|
| protected String | getSequenceQuery()
Implements abstract org. Return the database-specific query to use for retrieving a sequence value. |
| Db2LuwMaxValueIncrementer | back to summary |
|---|---|
| public Db2LuwMaxValueIncrementer() Default constructor for bean property style usage.
| |
| Db2LuwMaxValueIncrementer | back to summary |
|---|---|
| public Db2LuwMaxValueIncrementer(DataSource dataSource, String incrementerName) Convenience constructor.
| |
| getSequenceQuery | back to summary |
|---|---|
| protected String getSequenceQuery() Implements abstract org. Doc from org. Return the database-specific query to use for retrieving a sequence value. The provided SQL is supposed to result in a single row with a single
column that allows for extracting a
| |