public final class MaxValueIncrementerFactory extends Object
DataFieldMaxValueIncrementer for a given DataSource and
 incrementer name.
 These incrementers are used for getting generated incrementing values like that provided by a database-level sequence generator.
 Note that not all database platforms support sequences natively, so incrementers can be returned that emulate
 sequence-like behavior. The Spring Framework provides incrementer implementations for numerous different database
 platforms. This classes uses DatabasePlatforms to determine the platform of the given DataSource.
 
 Note that this class will cache internally any incrementers for a given DataSource + Incrementer Name
 combination.
 
| Modifier and Type | Field and Description | 
|---|---|
| static String | PLATFORM_INCREMENTER_PREFIXPrefix for property names used to identify the classname for a  DataFieldMaxValueIncrementerto use for a
 given platform. | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer | getIncrementer(DataSource dataSource,
                            String incrementerName)Either constructs a new incrementer or retrieves a cached instance for the given DataSource and target
 incrementer name. | 
public static final String PLATFORM_INCREMENTER_PREFIX
DataFieldMaxValueIncrementer to use for a
 given platform.
 To construct a full property name, concatenate this prefix with the platform name.
public static org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer getIncrementer(DataSource dataSource, String incrementerName)
dataSource - the DataSource for which to retrieve the incrementer.incrementerName - the case-insensitive name of the incrementer to use, this will generally be the name of
        the database object which is used to implement the incrementer.DataSource.IllegalArgumentException - if dataSource or incrementerName are null or blank.Copyright © 2005–2015 The Kuali Foundation. All rights reserved.