DataFieldMaxValueIncrementer that retrieves the next value
of a given sequence on DB2 for the mainframe (z/OS, DB2/390, DB2/400).
Thanks to Jens Eickmeyer for the suggestion!
Db2LuwMaxValueIncrementer
| Access | Constructor and Description |
|---|---|
| public | |
| public | Db2MainframeMaxValueIncrementer(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. |
| Db2MainframeMaxValueIncrementer | back to summary |
|---|---|
| public Db2MainframeMaxValueIncrementer() Default constructor for bean property style usage.
| |
| Db2MainframeMaxValueIncrementer | back to summary |
|---|---|
| public Db2MainframeMaxValueIncrementer(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
| |