|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.hibernate.dialect.Dialect
org.hibernate.dialect.HSQLDialect
An SQL dialect compatible with HSQLDB (Hypersonic SQL).
Note this version supports HSQLDB version 1.8 and higher, only.
| Field Summary |
| Fields inherited from class org.hibernate.dialect.Dialect |
CLOSED_QUOTE, QUOTE |
| Constructor Summary | |
HSQLDialect()
|
|
| Method Summary | |
boolean |
bindLimitParametersFirst()
Does the LIMIT clause come at the start of the SELECT statement, rather than at the end? |
String |
getAddColumnString()
The syntax used to add a column to a table (optional). |
String[] |
getCreateSequenceStrings(String sequenceName)
The multiline script used to create a sequence, if sequences are supported. |
String[] |
getDropSequenceStrings(String sequenceName)
The multiline script used to drop a sequence, if sequences are supported. |
String |
getForUpdateString()
Does this dialect support the FOR UPDATE syntax? |
String |
getIdentityColumnString()
|
String |
getIdentityInsertString()
The keyword used to insert a generated value into an identity column (or null). |
String |
getIdentitySelectString()
|
String |
getLimitString(String sql,
boolean hasOffset)
Add a LIMIT clause to the given SQL SELECT |
String |
getQuerySequencesString()
A query used to find all sequences |
String |
getSelectSequenceNextValString(String sequenceName)
Generate the select expression fragment that will retreive the next value of a sequence, if sequences are supported. |
String |
getSequenceNextValString(String sequenceName)
Generate the appropriate select statement to to retreive the next value of a sequence, if sequences are supported. |
ViolatedConstraintNameExtracter |
getViolatedConstraintNameExtracter()
|
boolean |
supportsColumnCheck()
Does this dialect support column-level check constraints? |
boolean |
supportsCurrentTimestampSelection()
|
boolean |
supportsIdentityColumns()
Does this dialect support identity column key generation? |
boolean |
supportsIfExistsAfterTableName()
|
boolean |
supportsLimit()
Does this Dialect have some kind of LIMIT syntax? |
boolean |
supportsSequences()
Does this dialect support sequences? |
boolean |
supportsTemporaryTables()
HSQL does not really support temp tables; just take advantage of the fact that it is a single user db... |
boolean |
supportsUnique()
Does this dialect support the UNIQUE column syntax? |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public HSQLDialect()
| Method Detail |
public String getAddColumnString()
Dialect
getAddColumnString in class Dialectpublic boolean supportsIdentityColumns()
Dialect
supportsIdentityColumns in class Dialectpublic String getIdentityColumnString()
getIdentityColumnString in class Dialectpublic String getIdentitySelectString()
getIdentitySelectString in class Dialectpublic String getIdentityInsertString()
Dialect
getIdentityInsertString in class Dialectpublic String getForUpdateString()
Dialect
getForUpdateString in class Dialectpublic boolean supportsUnique()
Dialect
supportsUnique in class Dialectpublic boolean supportsLimit()
Dialect
supportsLimit in class Dialect
public String getLimitString(String sql,
boolean hasOffset)
Dialect
getLimitString in class Dialectpublic boolean bindLimitParametersFirst()
Dialect
bindLimitParametersFirst in class Dialectpublic boolean supportsIfExistsAfterTableName()
supportsIfExistsAfterTableName in class Dialectpublic boolean supportsColumnCheck()
Dialect
supportsColumnCheck in class Dialectpublic String[] getCreateSequenceStrings(String sequenceName)
Dialect
getCreateSequenceStrings in class DialectsequenceName - the name of the sequence
public String[] getDropSequenceStrings(String sequenceName)
Dialect
getDropSequenceStrings in class DialectsequenceName - the name of the sequence
public String getSelectSequenceNextValString(String sequenceName)
DialectDialect.getSequenceNextValString(String) in that this
should return an expression usable within another select statement.
getSelectSequenceNextValString in class DialectsequenceName - the name of the sequence
public String getSequenceNextValString(String sequenceName)
Dialect
getSequenceNextValString in class DialectsequenceName - the name of the sequence
public String getQuerySequencesString()
Dialect
getQuerySequencesString in class DialectSchemaUpdatepublic boolean supportsSequences()
Dialect
supportsSequences in class Dialectpublic ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter()
getViolatedConstraintNameExtracter in class Dialectpublic boolean supportsTemporaryTables()
supportsTemporaryTables in class Dialectpublic boolean supportsCurrentTimestampSelection()
supportsCurrentTimestampSelection in class Dialect
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||