站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

OracleSequenceMaxValueIncrementer (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.jdbc.support.incrementer
Class OracleSequenceMaxValueIncrementer

java.lang.Object
  extended by org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
      extended by org.springframework.jdbc.support.incrementer.AbstractSequenceMaxValueIncrementer
          extended by org.springframework.jdbc.support.incrementer.OracleSequenceMaxValueIncrementer
All Implemented Interfaces:
InitializingBean, DataFieldMaxValueIncrementer

public class OracleSequenceMaxValueIncrementer
extends AbstractSequenceMaxValueIncrementer

DataFieldMaxValueIncrementer that retrieves the next value of a given Oracle sequence.

Author:
Dmitriy Kopylenko, Thomas Risberg, Juergen Hoeller

Field Summary
 
Fields inherited from class org.springframework.jdbc.support.incrementer.AbstractDataFieldMaxValueIncrementer
paddingLength
 
Constructor Summary
OracleSequenceMaxValueIncrementer()
          Default constructor.
OracleSequenceMaxValueIncrementer(DataSource ds, String incrementerName)
          Convenience constructor.
 
Method Summary
protected  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

OracleSequenceMaxValueIncrementer

public OracleSequenceMaxValueIncrementer()
Default constructor.


OracleSequenceMaxValueIncrementer

public OracleSequenceMaxValueIncrementer(DataSource ds,
                                         String incrementerName)
Convenience constructor.

Parameters:
ds - the DataSource to use
incrementerName - the name of the sequence to use
Method Detail

getSequenceQuery

protected String getSequenceQuery()
Description copied from class: AbstractSequenceMaxValueIncrementer
Return the database-specific query to use for retrieving a sequence value.

Specified by:
getSequenceQuery in class AbstractSequenceMaxValueIncrementer

The Spring Framework

Copyright © 2002-2007 The Spring Framework.