org.hibernate.dialect.HSQLDialect .
| 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. getCreateSequenceString(String), we must also override
getCreateSequenceString(String, int, int) to prevent
duplication of start with.
|
| public String | getDropSequenceString(String
The name of the sequence sequenceName)Overrides default org. |
| public String | getSequenceNextValString(String
the name of the sequence sequenceName)Overrides default org. |
| public String | getSequencePreviousValString(String
the name of the sequence sequenceName)Overrides default org. |
| INSTANCE | back to summary |
|---|---|
| public static final SequenceSupport INSTANCE Hides org. | |
| HSQLSequenceSupport | back to summary |
|---|---|
| public HSQLSequenceSupport() | |
| getCreateSequenceString | back to summary |
|---|---|
| public String getCreateSequenceString(String sequenceName) Overrides default org. HSQL will start with 0, by default. In order for Hibernate to know that this not transient, manually start with 1.
| |
| getCreateSequenceString | back to summary |
|---|---|
| public String getCreateSequenceString(String sequenceName, int initialValue, int incrementSize) Overrides default org. Because of the overridden
| |
| getDropSequenceString | back to summary |
|---|---|
| public String getDropSequenceString(String sequenceName) Overrides default org. Doc from org. Typically dialects which support sequences can drop a sequence
with a single command. This is convenience form of
Dialects which support sequences and can drop a sequence in a
single command need *only* override this method. Dialects
which support sequences but require multiple commands to drop
a sequence should instead override | |
| getSequenceNextValString | back to summary |
|---|---|
| public String getSequenceNextValString(String sequenceName) Overrides default org. Doc from org. Generate the appropriate select statement to to retrieve the next value of a sequence. This should be a stand alone select statement. | |
| getSequencePreviousValString | back to summary |
|---|---|
| public String getSequencePreviousValString(String sequenceName) Overrides default org. Doc from org. Generate the appropriate select statement to to retrieve the previous value of a sequence. This should be a stand alone select statement. | |