| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CaseFragment | createCaseFragment()
Return the case statement modified for Cloudscape.
|
| private void | |
| public boolean | dropConstraints()
Do we need to drop constraints before dropping tables in this dialect?
|
| public String | getCrossJoinSeparator()
Overrides org. |
| public String | getForUpdateString()
Overrides org. |
| public String | getLimitString(String
The query to which to apply the limit. query, final int The offset of the limit offset, final int The limit of the limit ;) limit)Overrides org. |
| public String | getQuerySequencesString()
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 WRITE locks
for this dialect.
|
| public String | getSequenceNextValString(String
the name of the sequence sequenceName)Overrides org. |
| private int | |
| 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.
|
| private boolean | |
| private boolean | |
| private boolean | |
| public boolean | |
| public boolean | supportsLimit()
Does this dialect support some form of limiting query results
via a SQL clause?
|
| public boolean | supportsLimitOffset()
Overrides org. |
| public boolean | supportsLobValueChangePropogation()
Overrides org. |
| public boolean | supportsSequences()
Overrides org. |
| public boolean | supportsUnboundedLobLocatorMaterialization()
Overrides org. |
| public boolean | supportsVariableLimit()
Overrides org. |
| driverVersionMajor | back to summary |
|---|---|
| private int driverVersionMajor | |
| driverVersionMinor | back to summary |
|---|---|
| private int driverVersionMinor | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| DerbyDialect | back to summary |
|---|---|
| public DerbyDialect() | |
| createCaseFragment | back to summary |
|---|---|
| public CaseFragment createCaseFragment() Overrides org. Return the case statement modified for Cloudscape.
| |
| determineDriverVersion | back to summary |
|---|---|
private void determineDriverVersion()
| |
| dropConstraints | back to summary |
|---|---|
| public boolean dropConstraints() Overrides org. Doc from org. Do we need to drop constraints before dropping tables in this dialect?
| |
| getCrossJoinSeparator | back to summary |
|---|---|
| public String getCrossJoinSeparator() Overrides org. Doc from org. Get 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! | |
| 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.
| |
| getLimitString | back to summary |
|---|---|
| public String getLimitString(String query, final int offset, final int limit) Overrides org. Doc from org. Given a limit and an offset, apply the limit clause to the query. From Derby 10.5 Docs:
Query
[ORDER BY clause]
[result offset clause]
[fetch first clause]
[FOR UPDATE clause]
[WITH {RR|RS|CS|UR}]
| |
| getQuerySequencesString | back to summary |
|---|---|
| public String getQuerySequencesString() Overrides org. Doc from org. Get the select command used retrieve the names of all sequences.
| |
| getReadLockString | back to summary |
|---|---|
| public String getReadLockString(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 of the returned string is treated the same as getForUpdateString.
| |
| 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. | |
| getWithIndex | back to summary |
|---|---|
| private int getWithIndex(String querySelect) | |
| 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 of the returned string is treated the same as getForUpdateString.
| |
| hasForUpdateClause | back to summary |
|---|---|
| private boolean hasForUpdateClause(int forUpdateIndex) | |
| hasWithClause | back to summary |
|---|---|
| private boolean hasWithClause(String normalizedSelect) | |
| isTenPointFiveReleaseOrNewer | back to summary |
|---|---|
| private boolean isTenPointFiveReleaseOrNewer() | |
| supportsCommentOn | back to summary |
|---|---|
| public boolean supportsCommentOn() Overrides org. | |
| 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?
| |
| supportsLobValueChangePropogation | back to summary |
|---|---|
| public boolean supportsLobValueChangePropogation() Overrides org. Doc from org. Does the dialect support propagating changes to LOB values back to the database? Talking about mutating the internal value of the locator as opposed to supplying a new locator instance...
For BLOBs, the internal value might be changed by:
For CLOBs, the internal value might be changed by:
NOTE : I do not know the correct answer currently for
databases which (1) are not part of the cruise control process
or (2) do not
| |
| supportsSequences | back to summary |
|---|---|
| public boolean supportsSequences() Overrides org. Doc from org. Does this dialect support sequences?
| |
| supportsUnboundedLobLocatorMaterialization | back to summary |
|---|---|
| public boolean supportsUnboundedLobLocatorMaterialization() Overrides org. Doc from org. Is it supported to materialize a LOB locator outside the transaction in which it was created? Again, part of the trickiness here is the fact that this is largely driver dependent. Note all database I have tested which
| |
| 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?
| |