|
|||||||||||
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 org.springframework.jdbc.support.incrementer.PostgreSQLSequenceMaxValueIncrementer
Class to retrieve the next value of a given PostgreSQL Sequence.
Field Summary |
Fields inherited from class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer |
paddingLength |
Constructor Summary | |
PostgreSQLSequenceMaxValueIncrementer()
Default constructor. |
|
PostgreSQLSequenceMaxValueIncrementer(javax.sql.DataSource ds,
java.lang.String incrementerName)
Convenience constructor. |
Method Summary | |
protected 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.AbstractSequenceMaxValueIncrementer |
getNextKey |
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 PostgreSQLSequenceMaxValueIncrementer()
public PostgreSQLSequenceMaxValueIncrementer(javax.sql.DataSource ds, java.lang.String incrementerName)
ds
- the DataSource to useincrementerName
- the name of the sequence/table to useMethod Detail |
protected java.lang.String getSequenceQuery()
AbstractSequenceMaxValueIncrementer
getSequenceQuery
in class AbstractSequenceMaxValueIncrementer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |