|
||||||||||
| 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.IngresDialect
public class IngresDialect
An Ingres SQL dialect.
Known limitations: - only supports simple constants or columns on the left side of an IN, making (1,2,3) in (...) or (
| Field Summary |
|---|
| Fields inherited from class org.hibernate.dialect.Dialect |
|---|
CLOSED_QUOTE, DEFAULT_BATCH_SIZE, NO_BATCH, QUOTE |
| Constructor Summary | |
|---|---|
IngresDialect()
|
|
| Method Summary | |
|---|---|
boolean |
dropConstraints()
Do we need to drop constraints before dropping tables in this dialect? |
String |
generateTemporaryTableName(String baseTableName)
Generate a temporary table name given the bas table. |
String |
getAddColumnString()
The syntax used to add a column to a table (optional). |
String |
getCreateSequenceString(String sequenceName)
The syntax used to create a sequence, if sequences are supported. |
String |
getCreateTemporaryTablePostfix()
Get any fragments needing to be postfixed to the command for temporary table creation. |
String |
getCreateTemporaryTableString()
Command used to create a temporary table. |
String |
getCurrentTimestampSQLFunctionName()
Expression for current_timestamp |
String |
getDropSequenceString(String sequenceName)
The syntax used to drop a sequence, if sequences are supported. |
String |
getLimitString(String querySelect,
int offset,
int limit)
Add a LIMIT clause to the given SQL SELECT |
String |
getLowercaseFunction()
The name of the SQL function that transforms a string to lowercase |
String |
getNullColumnString()
The keyword used to specify a nullable column. |
String |
getQuerySequencesString()
A query used to find all sequences |
String |
getSequenceNextValString(String sequenceName)
The syntax that fetches the next value of a sequence, if sequences are supported. |
boolean |
supportsForUpdateOf()
Does this dialect support FOR UPDATE OF, allowing particular rows to be locked? |
boolean |
supportsLimit()
Does this Dialect have some kind of LIMIT syntax? |
boolean |
supportsLimitOffset()
Does this dialect support an offset? |
boolean |
supportsNotNullUnique()
Ingres explicitly needs "unique not null", because "with null" is default |
boolean |
supportsSequences()
Does this dialect support sequences? |
boolean |
supportsSubselectAsInPredicateLHS()
Are subselects supported as the left-hand-side (LHS) of IN-predicates. |
boolean |
supportsTemporaryTables()
Does this dialect support temporary tables? |
boolean |
supportsVariableLimit()
Does this dialect support bind variables (i.e., prepared statememnt parameters) for its limit/offset? |
boolean |
useMaxForLimit()
Does the LIMIT clause take a "maximum" row number instead of a total number of returned rows? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IngresDialect()
| Method Detail |
|---|
public boolean dropConstraints()
dropConstraints in class Dialectpublic boolean supportsForUpdateOf()
public String getAddColumnString()
getAddColumnString in class Dialectpublic String getNullColumnString()
getNullColumnString in class Dialectpublic boolean supportsSequences()
supportsSequences in class Dialectpublic String getSequenceNextValString(String sequenceName)
getSequenceNextValString in class DialectsequenceName - the name of the sequence
public String getCreateSequenceString(String sequenceName)
getCreateSequenceString in class DialectsequenceName - the name of the sequence
public String getDropSequenceString(String sequenceName)
getDropSequenceString in class DialectsequenceName - the name of the sequence
public String getQuerySequencesString()
getQuerySequencesString in class DialectSchemaUpdatepublic String getLowercaseFunction()
getLowercaseFunction in class Dialectpublic boolean supportsLimit()
supportsLimit in class Dialectpublic boolean supportsLimitOffset()
supportsLimitOffset in class Dialect
public String getLimitString(String querySelect,
int offset,
int limit)
getLimitString in class DialectquerySelect - The query to which to apply the limit.offset - The offset of the limitlimit - The limit of the limit ;)
public boolean supportsVariableLimit()
Dialect
supportsVariableLimit in class Dialectpublic boolean useMaxForLimit()
useMaxForLimit in class Dialectpublic boolean supportsNotNullUnique()
supportsNotNullUnique in class Dialectpublic boolean supportsTemporaryTables()
supportsTemporaryTables in class Dialectpublic String getCreateTemporaryTableString()
Dialect
getCreateTemporaryTableString in class Dialectpublic String getCreateTemporaryTablePostfix()
Dialect
getCreateTemporaryTablePostfix in class Dialectpublic String generateTemporaryTableName(String baseTableName)
Dialect
generateTemporaryTableName in class DialectbaseTableName - The table name from which to base the temp table name.
public String getCurrentTimestampSQLFunctionName()
getCurrentTimestampSQLFunctionName in class Dialectpublic boolean supportsSubselectAsInPredicateLHS()
Dialect
supportsSubselectAsInPredicateLHS in class Dialect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||