org.hibernate.dialect.DB2zDialect .
| Modifier and Type | Field and Description |
|---|---|
| public static final SequenceSupport |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getCreateSequenceString(String
The name of the sequence sequenceName)Overrides default org. |
| public String | getCreateSequenceString(String
The name of the sequence sequenceName, int The initial value to apply to 'create sequence' statement initialValue, int The increment value to apply to 'create sequence' statement incrementSize)Overrides default org. |
| public String | |
| public String | getSelectSequenceNextValString(String
the name of the sequence sequenceName)Implements org. |
| public String | getSelectSequencePreviousValString(String
the name of the sequence sequenceName)Overrides default org. |
| INSTANCE | back to summary |
|---|---|
| public static final SequenceSupport INSTANCE | |
| DB2zSequenceSupport | back to summary |
|---|---|
| public DB2zSequenceSupport() | |
| getCreateSequenceString | back to summary |
|---|---|
| public String getCreateSequenceString(String sequenceName) Overrides default org. Doc from org. Typically dialects which support sequences can create a sequence with
a single command. This method is a convenience making it easier to
implement
The default definition is to return
Dialects which support sequences and can create a sequence in a single
command need *only* override this method. Dialects which support
sequences but require multiple commands to create a sequence should
override | |
| getCreateSequenceString | back to summary |
|---|---|
| public String getCreateSequenceString(String sequenceName, int initialValue, int incrementSize) Overrides default org. Doc from org. Typically dialects which support sequences can create a sequence with
a single command. This method is a convenience making it easier to
implement
Overloaded form of getCreateSequenceString(String)
with the string: start with initialValue increment by incrementSize
for the arguments initialValue and incrementSize. Dialects
need to override this method if different key phrases are used to apply the
allocation information.
| |
| getFromDual | back to summary |
|---|---|
| public String getFromDual() Overrides default org.
| |
| getSelectSequenceNextValString | back to summary |
|---|---|
| public String getSelectSequenceNextValString(String sequenceName) Implements org. Doc from org. Generate the select expression fragment that will retrieve the next value of a sequence as part of another (typically DML) statement.
This differs from | |
| getSelectSequencePreviousValString | back to summary |
|---|---|
| public String getSelectSequencePreviousValString(String sequenceName) Overrides default org. Doc from org. Generate the select expression fragment that will retrieve the previous value of a sequence as part of another (typically DML) statement.
This differs from | |