java.lang.Object | ||
↳ | org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer | |
↳ | org.springframework.jdbc.support.incrementer.AbstractSequenceMaxValueIncrementer |
![]() |
Abstract base class for DataFieldMaxValueIncrementer
implementations that use
a database sequence. Subclasses need to provide the database-specific SQL to use.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor for bean property style usage.
| |||||||||||
Convenience constructor.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Executes the SQL as specified by
getSequenceQuery() . | |||||||||||
Return the database-specific query to use for retrieving a sequence value.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Default constructor for bean property style usage.
Convenience constructor.
dataSource | the DataSource to use |
---|---|
incrementerName | the name of the sequence/table to use |
Executes the SQL as specified by getSequenceQuery()
.
DataAccessException |
---|
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 long
value.