org.hibernate.dialect.MariaDBDialect .
| 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 | getSelectSequencePreviousValString(String
the name of the sequence sequenceName)Overrides org. Overrides default org. |
| public boolean | sometimesNeedsStartingValue()
Overrides default org. minvalue or
maxvalue when the initial value doesn't have
the same sign as the increment?
|
| INSTANCE | back to summary |
|---|---|
| public static final SequenceSupport INSTANCE Hides org. | |
| MariaDBSequenceSupport | back to summary |
|---|---|
| public MariaDBSequenceSupport() | |
| getCreateSequenceString | back to summary |
|---|---|
| public String getCreateSequenceString(String sequenceName) throws MappingException 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) throws MappingException 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.
| |
| getSelectSequencePreviousValString | back to summary |
|---|---|
| public String getSelectSequencePreviousValString(String sequenceName) throws MappingException Overrides org. 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
| |
| sometimesNeedsStartingValue | back to summary |
|---|---|
| public boolean sometimesNeedsStartingValue() Overrides default org. Doc from org. Do we need to explicitly specify
| |