| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final DatabaseVersion | |
| private static final DatabaseVersion |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getCreateIndexString(boolean
true if the index is a unique indexOverrides org. create index
or create unique index.
|
| public String | getCreateIndexTail(boolean unique, List<Column> columns)
Overrides org. create index
command, usually to specify that null values are to be
considered distinct.
|
| public DatabaseVersion | |
| public IdentityColumnSupport | getIdentityColumnSupport()
Overrides org. IdentityColumnSupport for this dialect.
|
| public LimitHandler | getLimitHandler()
Overrides org. LimitHandler that implements pagination support for
Query#setMaxResults(int) and Query#setFirstResult(int).
|
| protected DatabaseVersion | getMinimumSupportedVersion()
Overrides org. |
| public String | getQuerySequencesString()
Overrides org. select command used retrieve the names of all sequences.
|
| public String | getRowIdColumnString(String rowId)
Overrides org. rowid column be
declared explicitly, return the DDL column definition.
|
| public SequenceSupport | getSequenceSupport()
Overrides org. |
| public SqlAstTranslatorFactory | getSqlAstTranslatorFactory()
Overrides org. SqlAstTranslatorFactory specific to this dialect, or null
to use the standard translator.
|
| public void | initializeFunctionRegistry(FunctionContributions functionContributions)
Overrides org. |
| public String | rowId(String
the name specified by
rowId)org.,
which is ignored if getRowIdColumnString
is not overriddenOverrides org. rid_bit(alias) but here we use alias.rowid.
|
| public int | rowIdSqlType()
Overrides org. rowid-like pseudo-column
which acts as a high-performance row locator.
|
| public boolean | supportsDistinctFromPredicate()
Overrides org. distinct from predicate?
|
| public boolean | supportsLateral()
Overrides org. lateral keyword or a
proprietary alternative?
|
| public boolean | supportsRecursiveCTE()
Overrides org. |
| public boolean | supportsSkipLocked()
Overrides org. SKIP_LOCKED timeout.
|
| DB2_LUW_VERSION | back to summary |
|---|---|
| pack-priv static final DatabaseVersion DB2_LUW_VERSION | |
| MINIMUM_VERSION | back to summary |
|---|---|
| private static final DatabaseVersion MINIMUM_VERSION | |
| DB2iDialect | back to summary |
|---|---|
| public DB2iDialect(DialectResolutionInfo info) | |
| DB2iDialect | back to summary |
|---|---|
| public DB2iDialect() | |
| DB2iDialect | back to summary |
|---|---|
| public DB2iDialect(DatabaseVersion version) | |
| getCreateIndexString | back to summary |
|---|---|
| public String getCreateIndexString(boolean unique) Overrides org. Doc from org. The command used to create an index, usually | |
| getCreateIndexTail | back to summary |
|---|---|
| public String getCreateIndexTail(boolean unique, List<Column> columns) Overrides org. Doc from org. A string to be appended to the end of the
| |
| getDB2Version | back to summary |
|---|---|
| public DatabaseVersion getDB2Version() Overrides org. Doc from org. DB2 LUW Version
| |
| getIdentityColumnSupport | back to summary |
|---|---|
| public IdentityColumnSupport getIdentityColumnSupport() Overrides org. Doc from org. Get the appropriate
| |
| getLimitHandler | back to summary |
|---|---|
| public LimitHandler getLimitHandler() Overrides org. Doc from org. Obtain a
| |
| getMinimumSupportedVersion | back to summary |
|---|---|
| protected DatabaseVersion getMinimumSupportedVersion() Overrides org. Doc from org. Get the version of the SQL dialect that is the minimum supported by this implementation.
| |
| getQuerySequencesString | back to summary |
|---|---|
| public String getQuerySequencesString() Overrides org. Doc from org. Get the | |
| getRowIdColumnString | back to summary |
|---|---|
| public String getRowIdColumnString(String rowId) Overrides org. Doc from org. If this dialect requires that the | |
| getSequenceSupport | back to summary |
|---|---|
| public SequenceSupport getSequenceSupport() Overrides org. No support for sequences.
| |
| getSqlAstTranslatorFactory | back to summary |
|---|---|
| public SqlAstTranslatorFactory getSqlAstTranslatorFactory() Overrides org. Doc from org. Return a
| |
| initializeFunctionRegistry | back to summary |
|---|---|
| public void initializeFunctionRegistry(FunctionContributions functionContributions) Overrides org. Doc from org. Initialize the given registry with any dialect-specific functions. Support for certain SQL functions is required, and if the database does not support a required function, then the dialect must define a way to emulate it. These required functions include the functions defined by the JPA query language specification:
java.time
types:
extract(), and desugared by the parser:
second()
function returns a floating point value, contrary to the integer
type returned by the native function with this name on many databases.
Thus, we don't just naively map these HQL functions to the native SQL
functions with the same names.
| |
| rowId | back to summary |
|---|---|
| public String rowId(String rowId) Overrides org. Doc from org. The more "standard" syntax is
There is also an alternative
| |
| rowIdSqlType | back to summary |
|---|---|
| public int rowIdSqlType() Overrides org. Doc from org. The JDBC type code of the
| |
| supportsDistinctFromPredicate | back to summary |
|---|---|
| public boolean supportsDistinctFromPredicate() Overrides org. Doc from org. Does this dialect support some kind of That is, does it support syntax like: ... where FIRST_NAME IS DISTINCT FROM LAST_NAME
| |
| supportsLateral | back to summary |
|---|---|
| public boolean supportsLateral() Overrides org. Doc from org. Does this dialect support the SQL
| |
| supportsRecursiveCTE | back to summary |
|---|---|
| public boolean supportsRecursiveCTE() Overrides org. Doc from org. Does this dialect/database support recursive CTEs?
| |
| supportsSkipLocked | back to summary |
|---|---|
| public boolean supportsSkipLocked() Overrides org. Doc from org. Does this dialect support
| |