Known limitations: joined-subclass support because of no CASE support in TimesTen No support for subqueries that includes aggregation - size() in HQL not supported - user queries that does subqueries with aggregation No CLOB/BLOB support No cascade delete support. No Calendar support No support for updating primary keys.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JoinFragment | createOuterJoinFragment()
Overrides org. JoinFragment strategy responsible
for handling this dialect's variations in how joins are handled.
|
| public boolean | dropConstraints()
Do we need to drop constraints before dropping tables in this dialect?
|
| public String | getAddColumnString()
The syntax used to add a column to a table (optional).
|
| public String | getCreateSequenceString(String
The name of the sequence sequenceName)Overrides org. |
| public String | getCrossJoinSeparator()
Overrides org. |
| public String | getCurrentTimestampSelectString()
Overrides org. |
| public MultiTableBulkIdStrategy | |
| public String | getDropSequenceString(String
The name of the sequence sequenceName)Overrides org. |
| public String | getForUpdateString()
Get the string to append to SELECT statements to acquire locks
for this dialect.
|
| public LimitHandler | getLimitHandler()
Returns the delegate managing LIMIT clause.
|
| public String | getLimitString(String
The query to which to apply the limit. querySelect, int The offset of the limit offset, int The limit of the limit ;) limit)Overrides org. |
| public LockingStrategy | getLockingStrategy(Lockable
The persister for the entity to be locked. lockable, LockMode The type of lock to be acquired. lockMode)
Get a strategy instance which knows how to acquire a database-level lock
of the specified mode for this dialect.
|
| public String | getQuerySequencesString()
Overrides org. |
| public String | getSelectSequenceNextValString(String
the name of the sequence sequenceName)Overrides org. |
| public SequenceInformationExtractor | |
| public String | getSequenceNextValString(String
the name of the sequence sequenceName)Overrides org. |
| public boolean | isCurrentTimestampSelectStringCallable()
Overrides org. getCurrentTimestampSelectString
be treated as callable.
|
| public boolean | qualifyIndexName()
Do we need to qualify index names with the schema name?
|
| public boolean | supportsColumnCheck()
Overrides org. |
| public boolean | supportsCurrentTimestampSelection()
Overrides org. |
| public boolean | supportsEmptyInList()
Overrides org. |
| public boolean | supportsLimit()
Overrides org. |
| public boolean | supportsLimitOffset()
Overrides org. |
| public boolean | supportsSequences()
Does this dialect support sequences?
|
| public boolean | supportsTableCheck()
Does this dialect support table-level check constraints?
|
| public boolean | supportsVariableLimit()
Overrides org. |
| public boolean | useMaxForLimit()
Overrides org. |
| TimesTenDialect | back to summary |
|---|---|
| public TimesTenDialect() Constructs a TimesTenDialect | |
| createOuterJoinFragment | back to summary |
|---|---|
| public JoinFragment createOuterJoinFragment() Overrides org. Doc from org. Create a
| |
| dropConstraints | back to summary |
|---|---|
| public boolean dropConstraints() Overrides org. Doc from org. Do we need to drop constraints before dropping tables in this dialect?
| |
| getAddColumnString | back to summary |
|---|---|
| public String getAddColumnString() Overrides org. Doc from org. The syntax used to add a column to a table (optional). | |
| getCreateSequenceString | back to summary |
|---|---|
| public String getCreateSequenceString(String sequenceName) Overrides org. Doc from org. Typically dialects which support sequences can create a sequence
with a single command. This is convenience form of
Dialects which support sequences and can create a sequence in a
single command need *only* override this method. Dialects
which support sequences but require multiple commands to create
a sequence should instead override | |
| getCrossJoinSeparator | back to summary |
|---|---|
| public String getCrossJoinSeparator() Overrides org. Doc from org. Returns the separator to use for defining cross joins when translating HQL queries. Typically this will be either [ cross join ] or [, ] Note that the spaces are important! | |
| getCurrentTimestampSelectString | back to summary |
|---|---|
| public String getCurrentTimestampSelectString() Overrides org. Doc from org. Retrieve the command used to retrieve the current timestamp from the database. | |
| getDefaultMultiTableBulkIdStrategy | back to summary |
|---|---|
| public MultiTableBulkIdStrategy getDefaultMultiTableBulkIdStrategy() Overrides org.
| |
| getDropSequenceString | back to summary |
|---|---|
| public String getDropSequenceString(String sequenceName) Overrides 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 | |
| getForUpdateString | back to summary |
|---|---|
| public String getForUpdateString() Overrides org. Doc from org. Get the string to append to SELECT statements to acquire locks for this dialect. | |
| getLimitHandler | back to summary |
|---|---|
| public LimitHandler getLimitHandler() Overrides org. Doc from org. Returns the delegate managing LIMIT clause.
| |
| getLimitString | back to summary |
|---|---|
| public String getLimitString(String querySelect, int offset, int limit) Overrides org. Doc from org. Given a limit and an offset, apply the limit clause to the query. | |
| getLockingStrategy | back to summary |
|---|---|
| public LockingStrategy getLockingStrategy(Lockable lockable, LockMode lockMode) Overrides org. Doc from org. Get a strategy instance which knows how to acquire a database-level lock of the specified mode for this dialect.
| |
| getQuerySequencesString | back to summary |
|---|---|
| public String getQuerySequencesString() Overrides org. Doc from org. Get the select command used retrieve the names of all sequences. | |
| getSelectSequenceNextValString | back to summary |
|---|---|
| public String getSelectSequenceNextValString(String sequenceName) Overrides org. Doc from org. Generate the select expression fragment that will retrieve the next value of a sequence as part of another (typically DML) statement.
This differs from | |
| getSequenceInformationExtractor | back to summary |
|---|---|
| public SequenceInformationExtractor getSequenceInformationExtractor() Overrides org.
| |
| getSequenceNextValString | back to summary |
|---|---|
| public String getSequenceNextValString(String sequenceName) Overrides 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. | |
| isCurrentTimestampSelectStringCallable | back to summary |
|---|---|
| public boolean isCurrentTimestampSelectStringCallable() Overrides org. Doc from org. Should the value returned by
| |
| qualifyIndexName | back to summary |
|---|---|
| public boolean qualifyIndexName() Overrides org. Doc from org. Do we need to qualify index names with the schema name?
| |
| supportsColumnCheck | back to summary |
|---|---|
| public boolean supportsColumnCheck() Overrides org. Doc from org. Does this dialect support column-level check constraints?
| |
| supportsCurrentTimestampSelection | back to summary |
|---|---|
| public boolean supportsCurrentTimestampSelection() Overrides org. Doc from org. Does this dialect support a way to retrieve the database's current timestamp value?
| |
| supportsEmptyInList | back to summary |
|---|---|
| public boolean supportsEmptyInList() Overrides org. Doc from org. Does this dialect support empty IN lists? For example, is [where XYZ in ()] a supported construct?
| |
| supportsLimit | back to summary |
|---|---|
| public boolean supportsLimit() Overrides org. Doc from org. Does this dialect support some form of limiting query results via a SQL clause?
| |
| supportsLimitOffset | back to summary |
|---|---|
| public boolean supportsLimitOffset() Overrides org. Doc from org. Does this dialect's LIMIT support (if any) additionally support specifying an offset?
| |
| supportsSequences | back to summary |
|---|---|
| public boolean supportsSequences() Overrides org. Doc from org. Does this dialect support sequences?
| |
| supportsTableCheck | back to summary |
|---|---|
| public boolean supportsTableCheck() Overrides org. Doc from org. Does this dialect support table-level check constraints?
| |
| supportsVariableLimit | back to summary |
|---|---|
| public boolean supportsVariableLimit() Overrides org. Doc from org. Does this dialect support bind variables (i.e., prepared statement parameters) for its limit/offset?
| |
| useMaxForLimit | back to summary |
|---|---|
| public boolean useMaxForLimit() Overrides org. Doc from org. Does the LIMIT clause take a "maximum" row number instead of a total number of returned rows? This is easiest understood via an example. Consider you have a table with 20 rows, but you only want to retrieve rows number 11 through 20. Generally, a limit with offset would say that the offset = 11 and the limit = 10 (we only want 10 rows at a time); this is specifying the total number of returned rows. Some dialects require that we instead specify offset = 11 and limit = 20, where 20 is the "last" row we want relative to offset (i.e. total number of rows = 20 - 11 = 9) So essentially, is limit relative from offset? Or is limit absolute?
| |