DataFieldMaxValueIncrementer implementations that use
a column in a custom sequence table. Subclasses need to provide the specific handling
of that table in their getNextKey() implementation.
| Modifier and Type | Field and Description |
|---|---|
| private int | cacheSize
The number of keys buffered in a cache. |
| private String | columnName
The name of the column for this sequence. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | AbstractColumnMaxValueIncrementer(DataSource
the DataSource to use dataSource, String the name of the sequence/table to use incrementerName, String the name of the column in the sequence table to use columnName)Convenience constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterPropertiesSet()
Overrides org. Implements org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. |
| public int | |
| public String | |
| public void | |
| public void |
| cacheSize | back to summary |
|---|---|
| private int cacheSize The number of keys buffered in a cache. | |
| columnName | back to summary |
|---|---|
| private String columnName The name of the column for this sequence. | |
| AbstractColumnMaxValueIncrementer | back to summary |
|---|---|
| public AbstractColumnMaxValueIncrementer() Default constructor for bean property style usage.
| |
| AbstractColumnMaxValueIncrementer | back to summary |
|---|---|
| public AbstractColumnMaxValueIncrementer(DataSource dataSource, String incrementerName, String columnName) Convenience constructor.
| |
| afterPropertiesSet | back to summary |
|---|---|
| public void afterPropertiesSet() Overrides org. Implements org. Doc from org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set.
| |
| getCacheSize | back to summary |
|---|---|
| public int getCacheSize() Return the number of buffered keys. | |
| getColumnName | back to summary |
|---|---|
| public String getColumnName() Return the name of the column in the sequence table. | |
| setCacheSize | back to summary |
|---|---|
| public void setCacheSize(int cacheSize) Set the number of buffered keys. | |
| setColumnName | back to summary |
|---|---|
| public void setColumnName(String columnName) Set the name of the column in the sequence table. | |