Specifies to not use "ANSI join syntax" because 9i does not seem to properly handle it in all cases.
| Modifier and Type | Field and Description |
|---|---|
| private static final AbstractLimitHandler |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CaseFragment | createCaseFragment()
Overrides org. |
| public String | getCurrentTimestampSelectString()
Overrides org. |
| public String | getCurrentTimestampSQLFunctionName()
Overrides org. |
| public String | getForUpdateString()
Get the string to append to SELECT statements to acquire locks
for this dialect.
|
| public LimitHandler | getLimitHandler()
Overrides org. |
| public String | getLimitString(String
The query to which to apply the limit. sql, boolean Is the query requesting an offset? hasOffset)Overrides org. |
| public String | getReadLockString(int
in milliseconds, -1 for indefinite wait and 0 for no wait. timeout)
Get the string to append to SELECT statements to acquire READ locks
for this dialect.
|
| public String | getSelectClauseNullString(int
The sqlType)Types type code.Overrides org. Types type code, determine an appropriate
null value to use in a select clause.
|
| public String | getWriteLockString(int
in milliseconds, -1 for indefinite wait and 0 for no wait. timeout)
Get the string to append to SELECT statements to acquire WRITE locks
for this dialect.
|
| protected void | |
| protected void | |
| public boolean | supportsRowValueConstructorSyntaxInInList()
Overrides org. |
| public boolean | supportsTupleDistinctCounts()
Overrides org. |
| LIMIT_HANDLER | back to summary |
|---|---|
| private static final AbstractLimitHandler LIMIT_HANDLER | |
| Oracle9iDialect | back to summary |
|---|---|
| public Oracle9iDialect() | |
| createCaseFragment | back to summary |
|---|---|
| public CaseFragment createCaseFragment() Overrides org. Doc from org. Map case support to the Oracle DECODE function. Oracle did not add support for CASE until 9i.
Create a
| |
| getCurrentTimestampSelectString | back to summary |
|---|---|
| public String getCurrentTimestampSelectString() Overrides org. Doc from org. Retrieve the command used to retrieve the current timestamp from the database. | |
| getCurrentTimestampSQLFunctionName | back to summary |
|---|---|
| public String getCurrentTimestampSQLFunctionName() Overrides org. Doc from org. The name of the database-specific SQL function for retrieving the current timestamp. | |
| 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 sql, boolean hasOffset) Overrides org. Doc from org. Apply a limit clause to the query.
Typically dialects utilize
Here we do still pass along whether or not an offset was specified
so that dialects not supporting offsets can generate proper exceptions.
In general, dialects will override one or the other of this method and
| |
| getReadLockString | back to summary |
|---|---|
| public String getReadLockString(int timeout) Overrides org. Doc from org. Get the string to append to SELECT statements to acquire READ locks for this dialect. Location of the returned string is treated the same as getForUpdateString. | |
| getSelectClauseNullString | back to summary |
|---|---|
| public String getSelectClauseNullString(int sqlType) Overrides org. Doc from org. Given a One thing to consider here is that certain databases might require proper casting for the nulls here since the select here will be part of a UNION/UNION ALL. | |
| getWriteLockString | back to summary |
|---|---|
| public String getWriteLockString(int timeout) Overrides org. Doc from org. Get the string to append to SELECT statements to acquire WRITE locks for this dialect. Location of the returned string is treated the same as getForUpdateString. | |
| registerCharacterTypeMappings | back to summary |
|---|---|
| protected void registerCharacterTypeMappings() Overrides org.
| |
| registerDateTimeTypeMappings | back to summary |
|---|---|
| protected void registerDateTimeTypeMappings() Overrides org.
| |
| supportsRowValueConstructorSyntaxInInList | back to summary |
|---|---|
| public boolean supportsRowValueConstructorSyntaxInInList() Overrides org. Doc from org. HHH-4907, I don't know if oracle 8 supports this syntax, so I'd think it is better add this method here. Reopen this issue if you found/know 8 supports it.
If the dialect supports For example, "... where (FIRST_NAME, LAST_NAME) IN ( (?, ?), (?, ?) ) ..."
| |
| supportsTupleDistinctCounts | back to summary |
|---|---|
| public boolean supportsTupleDistinctCounts() Overrides org. Doc from org. Does this dialect support `count(distinct a,b)`?
| |