| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | appendIdentitySelectToInsert(String
The insert command insertSQL)Overrides org. supportsInsertSelectIdentity, then attach the
"select identity" clause to the insert statement.
|
| public String | appendLockHint(LockMode
The lock mode to apply mode, String The name of the table to which to apply the lock hint. tableName)Overrides org. |
| public String | applyLocksToSql(String
the SQL string to modify sql, LockOptions lock options indexed by aliased table names. aliasedLockOptions, Map<K, V> a map of key columns indexed by aliased table names. keyColumnNames)
Modifies the given SQL by applying the appropriate updates for the specified
lock modes and key columns.
|
| public boolean | doesReadCommittedCauseWritersToBlockReaders()
Overrides org. |
| public boolean | doesRepeatableReadCauseReadersToBlockWriters()
Overrides org. |
| public boolean | dropTemporaryTableAfterUse()
Overrides org. |
| public String | generateTemporaryTableName(String
The table name from which to base the temp table name. baseTableName)Overrides org. |
| public String | getAddColumnString()
The syntax used to add a column to a table (optional).
|
| public String | getCurrentTimestampSelectString()
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 | getNullColumnString()
Overrides org. |
| public ResultSet | getResultSet(CallableStatement
The callable statement. ps)Overrides org. registerResultSetOutParameter,
extract the java. from the OUT parameter.
|
| public String | getSelectGUIDString()
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 int | registerResultSetOutParameter(CallableStatement
The callable statement. statement, int The bind position at which to register the OUT param. col)Overrides org. java..
|
| public boolean | supportsCurrentTimestampSelection()
Overrides org. |
| public boolean | supportsEmptyInList()
Overrides org. |
| public boolean | supportsExistsInSelect()
Overrides org. |
| public boolean | supportsIdentityColumns()
Overrides org. |
| public boolean | supportsInsertSelectIdentity()
Overrides org. |
| public boolean | supportsTemporaryTables()
Overrides org. |
| public boolean | supportsTupleDistinctCounts()
Overrides org. |
| public boolean | supportsUnionAll()
Does this dialect support UNION ALL, which is generally a faster
variant of UNION?
|
| AbstractTransactSQLDialect | back to summary |
|---|---|
| public AbstractTransactSQLDialect() | |
| appendIdentitySelectToInsert | back to summary |
|---|---|
| public String appendIdentitySelectToInsert(String insertSQL) Overrides org. Doc from org. Provided we
Note, if | |
| appendLockHint | back to summary |
|---|---|
| public String appendLockHint(LockMode mode, String tableName) Overrides org. Doc from org. Some dialects support an alternative means to SELECT FOR UPDATE, whereby a "lock hint" is appends to the table name in the from clause. contributed by Helge Schulz | |
| applyLocksToSql | back to summary |
|---|---|
| public String applyLocksToSql(String sql, LockOptions aliasedLockOptions, Map<K, V> keyColumnNames) Overrides org. Doc from org. Modifies the given SQL by applying the appropriate updates for the specified lock modes and key columns. The behavior here is that of an ANSI SQL SELECT FOR UPDATE. This method is really intended to allow dialects which do not support SELECT FOR UPDATE to achieve this in their own fashion.
| |
| doesReadCommittedCauseWritersToBlockReaders | back to summary |
|---|---|
| public boolean doesReadCommittedCauseWritersToBlockReaders() Overrides org. Doc from org. For the underlying database, is READ_COMMITTED isolation implemented by forcing readers to wait for write locks to be released?
| |
| doesRepeatableReadCauseReadersToBlockWriters | back to summary |
|---|---|
| public boolean doesRepeatableReadCauseReadersToBlockWriters() Overrides org. Doc from org. For the underlying database, is REPEATABLE_READ isolation implemented by forcing writers to wait for read locks to be released?
| |
| dropTemporaryTableAfterUse | back to summary |
|---|---|
| public boolean dropTemporaryTableAfterUse() Overrides org. Doc from org. Do we need to drop the temporary table after use?
| |
| generateTemporaryTableName | back to summary |
|---|---|
| public String generateTemporaryTableName(String baseTableName) Overrides org. Doc from org. Generate a temporary table name given the base table. | |
| getAddColumnString | back to summary |
|---|---|
| public String getAddColumnString() Overrides org. Doc from org. The syntax used to add a column to a table (optional).
| |
| getCurrentTimestampSelectString | back to summary |
|---|---|
| public String getCurrentTimestampSelectString() Overrides org. Doc from org. Retrieve the command used to retrieve the current timestamp from the database.
| |
| 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.
| |
| getNullColumnString | back to summary |
|---|---|
| public String getNullColumnString() Overrides org. Doc from org. The keyword used to specify a nullable column.
| |
| 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.
| |
| 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?
| |
| 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
| |
| 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?
| |
| supportsExistsInSelect | back to summary |
|---|---|
| public boolean supportsExistsInSelect() Overrides org. Doc from org. Does the dialect support an exists statement in the select clause?
| |
| supportsIdentityColumns | back to summary |
|---|---|
| public boolean supportsIdentityColumns() Overrides org. Doc from org. Does this dialect support identity column key generation?
| |
| supportsInsertSelectIdentity | back to summary |
|---|---|
| public boolean supportsInsertSelectIdentity() Overrides org. Doc from org. Does the dialect support some form of inserting and selecting the generated IDENTITY value all in the same statement.
| |
| supportsTemporaryTables | back to summary |
|---|---|
| public boolean supportsTemporaryTables() Overrides org. Doc from org. Does this dialect support temporary tables?
| |
| supportsTupleDistinctCounts | back to summary |
|---|---|
| public boolean supportsTupleDistinctCounts() Overrides org. Doc from org. Does this dialect support `count(distinct a,b)`?
| |
| 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?
| |