com.bankframe.services.sequences
Class SequenceGeneratorFactoryImpl
java.lang.Object
com.bankframe.services.sequences.SequenceGeneratorFactory
com.bankframe.services.sequences.SequenceGeneratorFactoryImpl
- Direct Known Subclasses:
- DB2SequenceGeneratorFactoryImpl, OracleSequenceGeneratorFactoryImpl
public abstract class SequenceGeneratorFactoryImpl
- extends SequenceGeneratorFactory
SequenceGeneratorFactoryImpl
public SequenceGeneratorFactoryImpl()
getSQLCommand
public abstract String getSQLCommand(String sequenceName)
throws ProcessingErrorException
- Throws:
ProcessingErrorException
getResultName
public abstract String getResultName()
throws ProcessingErrorException
- Throws:
ProcessingErrorException
buildAndExecuteSQL
public long buildAndExecuteSQL(String sequenceName)
throws ProcessingErrorException
- Throws:
ProcessingErrorException
getNextValue
public String getNextValue(String sequenceName,
int requiredLength)
throws ProcessingErrorException
- Specified by:
getNextValue
in class SequenceGeneratorFactory
- Throws:
ProcessingErrorException
getNextValue
public Long getNextValue(String sequenceName)
throws ProcessingErrorException
- Specified by:
getNextValue
in class SequenceGeneratorFactory
- Throws:
ProcessingErrorException
Copyright © 2005, 2007, Oracle. All rights reserved.