|
||||||||||
| 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 SQL dialect for Ingres 9.2.
Known limitations:
| Field Summary |
|---|
| Fields inherited from class org.hibernate.dialect.Dialect |
|---|
CLOSED_QUOTE, DEFAULT_BATCH_SIZE, LEGACY_LOB_MERGE_STRATEGY, NEW_LOCATOR_LOB_MERGE_STRATEGY, NO_BATCH, QUOTE, STREAM_XFER_LOB_MERGE_STRATEGY |
| 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 base 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 |
getSelectGUIDString()
Expression for created UUID string |
String |
getSelectSequenceNextValString(String sequenceName)
Generate the select expression fragment that will retrieve the next value of a sequence as part of another (typically DML) statement. |
String |
getSequenceNextValString(String sequenceName)
The syntax that fetches the next value of a sequence, if sequences are supported. |
boolean |
supportsEmptyInList()
Does this dialect support empty IN lists? For example, is [where XYZ in ()] a supported construct? |
boolean |
supportsExpectedLobUsagePattern()
Expected LOB usage pattern is such that I can perform an insert via prepared statement with a parameter binding for a LOB value without crazy casting to JDBC driver implementation-specific classes... |
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 |
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 |
supportsTupleDistinctCounts()
Ingres does not support the syntax `count(distinct a,b)`? |
boolean |
supportsVariableLimit()
Does this dialect support bind variables (i.e., prepared statement 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 String getSelectGUIDString()
getSelectGUIDString in class Dialectpublic 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 getSelectSequenceNextValString(String sequenceName)
DialectDialect.getSequenceNextValString(String) in that this
should return an expression usable within another statement.
getSelectSequenceNextValString 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 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 Dialectpublic boolean supportsEmptyInList()
Dialect
supportsEmptyInList in class Dialectpublic boolean supportsExpectedLobUsagePattern()
Dialect
supportsExpectedLobUsagePattern in class Dialectpublic boolean supportsTupleDistinctCounts()
supportsTupleDistinctCounts in class Dialect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||