Interface SequenceGeneratorService
-
- All Known Implementing Classes:
SequenceGeneratorServiceImpl
public interface SequenceGeneratorService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
generateSequence(java.lang.String seqName)
This method generate a database sequence.void
removeSequences()
This method remove a database sequence.
-
-
-
Method Detail
-
generateSequence
long generateSequence(java.lang.String seqName)
This method generate a database sequence.- Parameters:
seqName
- field name for database entity,from which will be generated- Returns:
- sequence value as number
-
removeSequences
void removeSequences()
This method remove a database sequence.
-
-