Version History: Also change the version displayed below in the constructor 1.1 1.0 2005-10-24 CDH - First dated version for use with CP 11
| Modifier and Type | Field and Description |
|---|---|
| private static final AbstractLimitHandler | |
| private static final AbstractLimitHandler | |
| private static final CoreMessageLogger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CaseFragment | createCaseFragment()
Overrides org. CaseFragment strategy responsible
for handling this dialect's variations in how CASE statements are
handled.
|
| public boolean | forUpdateOfColumns()
The RDMS DB supports the 'FOR UPDATE OF' clause.
|
| public String | getAddColumnString()
The syntax used to add a column to a table (optional).
|
| public String | getCascadeConstraintsString()
Overrides org. |
| public String | getCreateSequenceString(String
The name of the sequence sequenceName)Overrides org. |
| public String | getDropSequenceString(String
The name of the sequence sequenceName)Overrides org. |
| public String | getForUpdateString()
Since the RDMS-JDBC driver does not support for updates, this string is
set to an empty string.
|
| public LimitHandler | getLimitHandler()
Returns the delegate managing LIMIT clause.
|
| public String | getLimitString(String
The query to which to apply the limit. sql, 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 | getNullColumnString()
Overrides org. |
| public String | getSequenceNextValString(String
the name of the sequence sequenceName)Overrides org. |
| public boolean | qualifyIndexName()
RDMS does not support qualifying index names with the schema name.
|
| public boolean | supportsCascadeDelete()
Overrides org. |
| public boolean | supportsLimit()
Overrides org. |
| public boolean | supportsLimitOffset()
Overrides org. |
| public boolean | supportsOuterJoinForUpdate()
Overrides org. |
| public boolean | supportsSequences()
Does this dialect support sequences?
|
| public boolean | supportsUnionAll()
Does this dialect support UNION ALL, which is generally a faster
variant of UNION?
|
| public boolean | supportsVariableLimit()
Overrides org. |
| LEGACY_LIMIT_HANDLER | back to summary |
|---|---|
| private static final AbstractLimitHandler LEGACY_LIMIT_HANDLER | |
| LIMIT_HANDLER | back to summary |
|---|---|
| private static final AbstractLimitHandler LIMIT_HANDLER | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| RDMSOS2200Dialect | back to summary |
|---|---|
| public RDMSOS2200Dialect() Constructs a RDMSOS2200Dialect | |
| createCaseFragment | back to summary |
|---|---|
| public CaseFragment createCaseFragment() Overrides org. Doc from org. Create a
| |
| forUpdateOfColumns | back to summary |
|---|---|
| public boolean forUpdateOfColumns() Overrides org. Doc from org. The RDMS DB supports the 'FOR UPDATE OF' clause. However, the RDMS-JDBC driver does not support this feature, so a false is return. The base dialect also returns a false, but we will leave this over-ride in to make sure it stays false. Is FOR UPDATE OF syntax supported?
| |
| getAddColumnString | back to summary |
|---|---|
| public String getAddColumnString() Overrides org. Doc from org. The syntax used to add a column to a table (optional). | |
| getCascadeConstraintsString | back to summary |
|---|---|
| public String getCascadeConstraintsString() Overrides org. Doc from org. Completely optional cascading drop clause | |
| 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 | |
| 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. Since the RDMS-JDBC driver does not support for updates, this string is set to an empty string. Whenever, the driver does support this feature, the returned string should be " FOR UPDATE OF". Note that RDMS does not support the string 'FOR UPDATE' string. 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, 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.
| |
| getNullColumnString | back to summary |
|---|---|
| public String getNullColumnString() Overrides org. Doc from org. The keyword used to specify a nullable column. | |
| 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. | |
| qualifyIndexName | back to summary |
|---|---|
| public boolean qualifyIndexName() Overrides org. Doc from org. RDMS does not support qualifying index names with the schema name. Do we need to qualify index names with the schema name?
| |
| supportsCascadeDelete | back to summary |
|---|---|
| public boolean supportsCascadeDelete() Overrides org. Doc from org. RDMS does not support Cascade Deletes. Need to review this in the future when support is provided. Does this dialect support cascaded delete on foreign key definitions?
| |
| 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?
| |
| supportsOuterJoinForUpdate | back to summary |
|---|---|
| public boolean supportsOuterJoinForUpdate() Overrides org. Doc from org. Currently, RDMS-JDBC does not support ForUpdate. Need to review this in the future when support is provided. Does this dialect support FOR UPDATE in conjunction with outer joined rows?
| |
| supportsSequences | back to summary |
|---|---|
| public boolean supportsSequences() Overrides org. Doc from org. Does this dialect support sequences?
| |
| supportsUnionAll | back to summary |
|---|---|
| public boolean supportsUnionAll() Overrides org. Doc from org. Does this dialect support UNION ALL, which is generally a faster variant of UNION?
| |
| 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?
| |