接口 DataFieldMaxValueIncrementer
- 所有已知实现类:
AbstractColumnMaxValueIncrementer
,AbstractDataFieldMaxValueIncrementer
,AbstractIdentityColumnMaxValueIncrementer
,AbstractSequenceMaxValueIncrementer
,Db2LuwMaxValueIncrementer
,Db2MainframeMaxValueIncrementer
,DB2MainframeSequenceMaxValueIncrementer
,DB2SequenceMaxValueIncrementer
,DerbyMaxValueIncrementer
,H2SequenceMaxValueIncrementer
,HanaSequenceMaxValueIncrementer
,HsqlMaxValueIncrementer
,HsqlSequenceMaxValueIncrementer
,MySQLMaxValueIncrementer
,OracleSequenceMaxValueIncrementer
,PostgreSQLSequenceMaxValueIncrementer
,PostgresSequenceMaxValueIncrementer
,SqlServerMaxValueIncrementer
,SybaseAnywhereMaxValueIncrementer
,SybaseMaxValueIncrementer
public interface DataFieldMaxValueIncrementer
Interface that defines contract of incrementing any data store field's maximum value. Works much like a sequence number generator.Typical implementations may use standard SQL, native RDBMS sequences or Stored Procedures to do the job.
- 作者:
- Dmitriy Kopylenko, Jean-Pierre Pawlak, Juergen Hoeller
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 int
nextIntValue()
Increment the data store field's max value as int.long
nextLongValue()
Increment the data store field's max value as long.String
nextStringValue()
Increment the data store field's max value as String.
方法详细资料
nextIntValue
int nextIntValue() throws DataAccessException
Increment the data store field's max value as int.- 返回:
- int next data store value such as max + 1
- 抛出:
DataAccessException
- in case of errors
nextLongValue
long nextLongValue() throws DataAccessException
Increment the data store field's max value as long.- 返回:
- int next data store value such as max + 1
- 抛出:
DataAccessException
- in case of errors
nextStringValue
String nextStringValue() throws DataAccessException
Increment the data store field's max value as String.- 返回:
- next data store value such as max + 1
- 抛出:
DataAccessException
- in case of errors