| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | appendIdentitySelectToInsert(String
The insert command insertSQL)Overrides org. |
| 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 boolean | areStringComparisonsCaseInsensitive()
Overrides org. |
| public char | closeQuote()
Overrides org. |
| public boolean | doesReadCommittedCauseWritersToBlockReaders()
Overrides org. |
| public boolean | doesRepeatableReadCauseReadersToBlockWriters()
Overrides org. |
| pack-priv static int | |
| public String | getCurrentTimestampSelectString()
Overrides org. |
| public String | getLimitString(String
The query to which to apply the limit. querySelect, int The offset of the limit offset, int The limit of the limit ;) limit)Overrides org. |
| public String | getNoColumnsInsertString()
Overrides org. |
| public char | openQuote()
Overrides org. |
| public boolean | supportsCircularCascadeDeleteConstraints()
Overrides org. |
| public boolean | supportsLimit()
Overrides org. |
| public boolean | supportsLimitOffset()
Overrides org. |
| public boolean | supportsLobValueChangePropogation()
Overrides org. |
| public boolean | supportsResultSetPositionQueryMethodsOnForwardOnlyCursor()
Overrides org. |
| public boolean | supportsVariableLimit()
Overrides org. |
| public boolean | useMaxForLimit()
Overrides org. |
| SQLServerDialect | back to summary |
|---|---|
| public SQLServerDialect() | |
| appendIdentitySelectToInsert | back to summary |
|---|---|
| public String appendIdentitySelectToInsert(String insertSQL) Overrides org. Use insert table(...) values(...) select SCOPE_IDENTITY()
| |
| 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 | |
| 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.
| |
| 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?
| |
| getAfterSelectInsertPoint | back to summary |
|---|---|
| pack-priv static int getAfterSelectInsertPoint(String sql) | |
| getCurrentTimestampSelectString | back to summary |
|---|---|
| public String getCurrentTimestampSelectString() Overrides org. Doc from org. Retrieve the command used to retrieve the current timestamp from the database.
| |
| getLimitString | back to summary |
|---|---|
| public String getLimitString(String querySelect, int offset, int limit) Overrides org. Doc from org. Given a limit and an offset, apply the limit clause to the query. | |
| getNoColumnsInsertString | back to summary |
|---|---|
| public String getNoColumnsInsertString() Overrides org. Doc from org. The fragment used to insert a row without specifying any column values. This is not possible on some databases.
| |
| openQuote | back to summary |
|---|---|
| public char openQuote() Overrides org. Doc from org. The character specific to this dialect used to begin a quoted identifier.
| |
| supportsCircularCascadeDeleteConstraints | back to summary |
|---|---|
| public boolean supportsCircularCascadeDeleteConstraints() Overrides org. Doc from org. Does this dialect support definition of cascade delete constraints which can cause circular chains?
| |
| 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
| |
| supportsResultSetPositionQueryMethodsOnForwardOnlyCursor | back to summary |
|---|---|
| public boolean supportsResultSetPositionQueryMethodsOnForwardOnlyCursor() Overrides org. Doc from org. Does this dialect support asking the result set its positioning
information on forward only cursors. Specifically, in the case of
scrolling fetches, Hibernate needs to use
NOTE : this is highly driver dependent!
| |
| 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?
| |
| useMaxForLimit | back to summary |
|---|---|
| public boolean useMaxForLimit() Overrides org. Doc from org. Does the LIMIT clause take a "maximum" row number instead of a total number of returned rows? This is easiest understood via an example. Consider you have a table with 20 rows, but you only want to retrieve rows number 11 through 20. Generally, a limit with offset would say that the offset = 11 and the limit = 10 (we only want 10 rows at a time); this is specifying the total number of returned rows. Some dialects require that we instead specify offset = 11 and limit = 20, where 20 is the "last" row we want relative to offset (i.e. total number of rows = 20 - 11 = 9) So essentially, is limit relative from offset? Or is limit absolute?
| |