|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer org.springframework.jdbc.support.incrementer.AbstractSequenceMaxValueIncrementer
Abstract base class for incrementers that use a database sequence. Subclasses need to provide the database-specific SQL to use.
getSequenceQuery()
Field Summary |
Fields inherited from class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer |
paddingLength |
Constructor Summary | |
AbstractSequenceMaxValueIncrementer()
|
Method Summary | |
protected long |
getNextKey()
Determine the next key to use, as a long. |
protected abstract java.lang.String |
getSequenceQuery()
Return the database-specific query to use for retrieving a sequence value. |
Methods inherited from class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer |
afterPropertiesSet, getDataSource, getIncrementerName, getPaddingLength, nextIntValue, nextLongValue, nextStringValue, setDataSource, setIncrementerName, setPaddingLength |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractSequenceMaxValueIncrementer()
Method Detail |
protected long getNextKey() throws DataAccessException
AbstractDataFieldMaxValueIncrementer
getNextKey
in class AbstractDataFieldMaxValueIncrementer
DataAccessException
protected abstract java.lang.String getSequenceQuery()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |