| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | areStringComparisonsCaseInsensitive()
Overrides org. |
| public char | closeQuote()
Overrides org. |
| public String | getAddColumnString()
The syntax used to add a column to a table (optional).
|
| public String | getAddForeignKeyConstraintString(String
The FK constraint name. constraintName, String[] The names of the columns comprising the FK foreignKey, String The table referenced by the FK referencedTable, String[] The explicit columns in the referencedTable referenced
by this FK. primaryKey, boolean if false, constraint should be
explicit about which column names the constraint refers to referencesPrimaryKey)Overrides org. |
| public String | getCastTypeName(int
The code)java. typecodeOverrides org. java. typecode.
|
| public String | |
| public String | getCreateTemporaryTableString()
Overrides org. |
| public String | getCurrentTimestampSelectString()
Overrides org. |
| public String | |
| public String | getDropTemporaryTableString()
Overrides org. |
| public String | getForUpdateString()
Get the string to append to SELECT statements to acquire locks
for this dialect.
|
| public String | getIdentityColumnString()
Overrides org. |
| public String | getIdentitySelectString()
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 WRITE locks
for this dialect.
|
| public ResultSet | getResultSet(CallableStatement
The callable statement. ps)Overrides org. registerResultSetOutParameter,
extract the java. from the OUT parameter.
|
| public String | getSelectGUIDString()
Overrides org. |
| public String | |
| 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.
|
| public boolean | isCurrentTimestampSelectStringCallable()
Overrides org. getCurrentTimestampSelectString
be treated as callable.
|
| public char | openQuote()
Overrides org. |
| public Boolean | performTemporaryTableDDLInIsolation()
Overrides org. |
| public boolean | qualifyIndexName()
Do we need to qualify index names with the schema name?
|
| public int | registerResultSetOutParameter(CallableStatement
The callable statement. statement, int The bind position at which to register the OUT param. col)Overrides org. java..
|
| protected void | |
| public boolean | |
| public boolean | supportsCurrentTimestampSelection()
Overrides org. |
| public boolean | supportsEmptyInList()
Overrides org. |
| public boolean | supportsIdentityColumns()
Overrides org. |
| public boolean | |
| public boolean | supportsLimit()
Overrides org. |
| public boolean | supportsLobValueChangePropogation()
Overrides org. |
| public boolean | supportsRowValueConstructorSyntax()
Overrides org. |
| public boolean | supportsSubqueryOnMutatingTable()
Overrides org. |
| public boolean | supportsTemporaryTables()
Overrides org. |
| MySQLDialect | back to summary |
|---|---|
| public MySQLDialect() | |
| areStringComparisonsCaseInsensitive | back to summary |
|---|---|
| public boolean areStringComparisonsCaseInsensitive() Overrides org. Doc from org. Are string comparisons implicitly case insensitive. In other words, does [where 'XYZ' = 'xyz'] resolve to true?
| |
| closeQuote | back to summary |
|---|---|
| public char closeQuote() Overrides org. Doc from org. The character specific to this dialect used to close a quoted identifier.
| |
| getAddColumnString | back to summary |
|---|---|
| public String getAddColumnString() Overrides org. Doc from org. The syntax used to add a column to a table (optional).
| |
| getAddForeignKeyConstraintString | back to summary |
|---|---|
| public String getAddForeignKeyConstraintString(String constraintName, String[] foreignKey, String referencedTable, String[] primaryKey, boolean referencesPrimaryKey) Overrides org. Doc from org. The syntax used to add a foreign key constraint to a table.
| |
| getCastTypeName | back to summary |
|---|---|
| public String getCastTypeName(int code) Overrides org. Doc from org. Get the name of the database type appropriate for casting operations
(via the CAST() SQL function) for the given
| |
| getColumnComment | back to summary |
|---|---|
| public String getColumnComment(String comment) | |
| getCreateTemporaryTableString | back to summary |
|---|---|
| public String getCreateTemporaryTableString() Overrides org. Doc from org. Command used to create a temporary table.
| |
| getCurrentTimestampSelectString | back to summary |
|---|---|
| public String getCurrentTimestampSelectString() Overrides org. Doc from org. Retrieve the command used to retrieve the current timestamp from the database.
| |
| getDropForeignKeyString | back to summary |
|---|---|
| public String getDropForeignKeyString() Overrides org. | |
| getDropTemporaryTableString | back to summary |
|---|---|
| public String getDropTemporaryTableString() Overrides org. Doc from org. Command used to drop a temporary table.
| |
| 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.
| |
| getIdentityColumnString | back to summary |
|---|---|
| public String getIdentityColumnString() Overrides org. Doc from org. The syntax used during DDL to define a column as being an IDENTITY.
| |
| getIdentitySelectString | back to summary |
|---|---|
| public String getIdentitySelectString() Overrides org. Doc from org. Get the select command to use to retrieve the last generated IDENTITY value.
| |
| getLimitString | back to summary |
|---|---|
| public String getLimitString(String sql, boolean hasOffset) Overrides org. Doc from org. Apply s 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 WRITE locks for this dialect. Location of the of the returned string is treated the same as getForUpdateString.
| |
| getResultSet | back to summary |
|---|---|
| public ResultSet getResultSet(CallableStatement ps) throws SQLException Overrides org. Doc from org. Given a callable statement previously processed by
| |
| getSelectGUIDString | back to summary |
|---|---|
| public String getSelectGUIDString() Overrides org. Doc from org. Get the command used to select a GUID from the underlying database. Optional operation.
| |
| getTableComment | back to summary |
|---|---|
| public String getTableComment(String comment) | |
| 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.
| |
| isCurrentTimestampSelectStringCallable | back to summary |
|---|---|
| public boolean isCurrentTimestampSelectStringCallable() Overrides org. Doc from org. Should the value returned by
| |
| openQuote | back to summary |
|---|---|
| public char openQuote() Overrides org. Doc from org. The character specific to this dialect used to begin a quoted identifier.
| |
| performTemporaryTableDDLInIsolation | back to summary |
|---|---|
| public Boolean performTemporaryTableDDLInIsolation() Overrides org. Doc from org. Does the dialect require that temporary table DDL statements occur in isolation from other statements? This would be the case if the creation would cause any current transaction to get committed implicitly.
JDBC defines a standard way to query for this information via the
Possible return values and their meanings:
| |
| qualifyIndexName | back to summary |
|---|---|
| public boolean qualifyIndexName() Overrides org. Doc from org. Do we need to qualify index names with the schema name?
| |
| registerResultSetOutParameter | back to summary |
|---|---|
| public int registerResultSetOutParameter(CallableStatement statement, int col) throws SQLException Overrides org. Doc from org. Registers an OUT parameter which will be returning a
| |
| registerVarcharTypes | back to summary |
|---|---|
| protected void registerVarcharTypes() | |
| supportsCascadeDelete | back to summary |
|---|---|
| public boolean supportsCascadeDelete() Overrides org. | |
| 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?
| |
| supportsIdentityColumns | back to summary |
|---|---|
| public boolean supportsIdentityColumns() Overrides org. Doc from org. Does this dialect support identity column key generation?
| |
| supportsIfExistsBeforeTableName | back to summary |
|---|---|
| public boolean supportsIfExistsBeforeTableName() 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?
| |
| 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
| |
| supportsRowValueConstructorSyntax | back to summary |
|---|---|
| public boolean supportsRowValueConstructorSyntax() Overrides org. Doc from org. Is this dialect known to support what ANSI-SQL terms "row value constructor" syntax; sometimes called tuple syntax. Basically, does it support syntax like "... where (FIRST_NAME, LAST_NAME) = ('Steve', 'Ebersole') ...".
| |
| supportsSubqueryOnMutatingTable | back to summary |
|---|---|
| public boolean supportsSubqueryOnMutatingTable() Overrides org. Doc from org. Does this dialect support referencing the table being mutated in a subquery. The "table being mutated" is the table referenced in an UPDATE or a DELETE query. And so can that table then be referenced in a subquery of said UPDATE/DELETE query. For example, would the following two syntaxes be supported:
| |
| supportsTemporaryTables | back to summary |
|---|---|
| public boolean supportsTemporaryTables() Overrides org. Doc from org. Does this dialect support temporary tables?
| |