|
|||||||||||
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 Dialect
public boolean supportsIdentityColumns()
Dialect
supportsIdentityColumns
in class Dialect
public String getIdentityColumnString()
getIdentityColumnString
in class Dialect
public String getIdentitySelectString()
getIdentitySelectString
in class Dialect
public String getIdentityInsertString()
Dialect
getIdentityInsertString
in class Dialect
public String getForUpdateString()
Dialect
getForUpdateString
in class Dialect
public boolean supportsUnique()
Dialect
supportsUnique
in class Dialect
public boolean supportsLimit()
Dialect
supportsLimit
in class Dialect
public String getLimitString(String sql, boolean hasOffset)
Dialect
getLimitString
in class Dialect
public boolean bindLimitParametersFirst()
Dialect
bindLimitParametersFirst
in class Dialect
public boolean supportsIfExistsAfterTableName()
supportsIfExistsAfterTableName
in class Dialect
public boolean supportsColumnCheck()
Dialect
supportsColumnCheck
in class Dialect
public String[] getCreateSequenceStrings(String sequenceName)
Dialect
getCreateSequenceStrings
in class Dialect
sequenceName
- the name of the sequence
public String[] getDropSequenceStrings(String sequenceName)
Dialect
getDropSequenceStrings
in class Dialect
sequenceName
- the name of the sequence
public String getSelectSequenceNextValString(String sequenceName)
Dialect
Dialect.getSequenceNextValString(String)
in that this
should return an expression usable within another select statement.
getSelectSequenceNextValString
in class Dialect
sequenceName
- the name of the sequence
public String getSequenceNextValString(String sequenceName)
Dialect
getSequenceNextValString
in class Dialect
sequenceName
- the name of the sequence
public String getQuerySequencesString()
Dialect
getQuerySequencesString
in class Dialect
SchemaUpdate
public boolean supportsSequences()
Dialect
supportsSequences
in class Dialect
public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter()
getViolatedConstraintNameExtracter
in class Dialect
public boolean supportsTemporaryTables()
supportsTemporaryTables
in class Dialect
public boolean supportsCurrentTimestampSelection()
supportsCurrentTimestampSelection
in class Dialect
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |