| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | appendLockHint(LockOptions
The lock options to apply lockOptions, 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<String, String[]> 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 String | getAddColumnString()
The syntax used to add a column to a table (optional).
|
| public String | getCurrentTimestampSelectString()
Overrides org. |
| public MultiTableBulkIdStrategy | |
| public String | getForUpdateString()
Get the string to append to SELECT statements to acquire locks
for this dialect.
|
| public IdentityColumnSupport | getIdentityColumnSupport()
Overrides org. IdentityColumnSupport
|
| public String | getNullColumnString()
Overrides org. |
| public ResultSet | getResultSet(CallableStatement
The callable statement. ps)Overrides org. registerResultSetOutParameter,
extract the ResultSet 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 output param. col)Overrides org. ResultSet *by position*.
|
| public boolean | supportsCurrentTimestampSelection()
Overrides org. |
| public boolean | supportsEmptyInList()
Overrides org. |
| public boolean | supportsExistsInSelect()
Overrides org. |
| public boolean | supportsPartitionBy()
Overrides org. |
| public boolean | supportsTupleDistinctCounts()
Overrides org. |
| public boolean | supportsTuplesInSubqueries()
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() | |
| appendLockHint | back to summary |
|---|---|
| public String appendLockHint(LockOptions lockOptions, String tableName) Overrides org. Doc from org. Some dialects support an alternative means to SELECT FOR UPDATE, whereby a "lock hint" is appended to the table name in the from clause. contributed by Helge Schulz
| |
| applyLocksToSql | back to summary |
|---|---|
| public String applyLocksToSql(String sql, LockOptions aliasedLockOptions, Map<String, String[]> 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?
| |
| 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. | |
| getDefaultMultiTableBulkIdStrategy | back to summary |
|---|---|
| public MultiTableBulkIdStrategy getDefaultMultiTableBulkIdStrategy() Overrides org.
| |
| 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. | |
| getIdentityColumnSupport | back to summary |
|---|---|
| public IdentityColumnSupport getIdentityColumnSupport() Overrides org. Doc from org. Get the appropriate
| |
| 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 a parameter (either OUT, or the new REF_CURSOR param type available in Java 8) capable of
returning
| |
| 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?
| |
| supportsPartitionBy | back to summary |
|---|---|
| public boolean supportsPartitionBy() Overrides org. Doc from org. Does the underlying database support partition by
| |
| supportsTupleDistinctCounts | back to summary |
|---|---|
| public boolean supportsTupleDistinctCounts() Overrides org. Doc from org. Does this dialect support `count(distinct a,b)`?
| |
| supportsTuplesInSubqueries | back to summary |
|---|---|
| public boolean supportsTuplesInSubqueries() Overrides org. Doc from org. Does this dialect support tuples in subqueries? Ex: delete from Table1 where (col1, col2) in (select col1, col2 from Table2)
| |
| 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?
| |