public class NextSequenceValueExpression extends SequenceValueExpression
ColumnExpression which builds the next value of
a sequence.| Constructor and Description |
|---|
NextSequenceValueExpression(SequenceIdGenerator sequence,
long difference)
Creates a new instance of an expression that references an ID by using the next value of a sequence.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toSql()
Generates the SQL for this expression.
|
getDifference, getSequence, toSqlclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendSqlpublic NextSequenceValueExpression(SequenceIdGenerator sequence, long difference)
sequence - describes the sequencedifference - the difference of the referenced ID to the sequence valuepublic String toSql()
ColumnExpressionCopyright © 2022 fastnate.org. All rights reserved.