| Modifier and Type | Field and Description |
|---|---|
| private static final DatabaseVersion | |
| private static final DatabaseVersion |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IdentifierHelper | buildIdentifierHelper(IdentifierHelperBuilder
A partially-configured builder, DatabaseMetaData IdentifierHelperBuilder.Access to the metadata returned from the driver if needed and if available dbMetaData)Warning it may be Overrides org. IdentifierHelper indicated by this dialect for handling identifier conversions.
|
| public void | contributeTypes(TypeContributions
Callback to contribute the types typeContributions, ServiceRegistry The service registry serviceRegistry)Overrides org. Dialect to contribute types.
|
| protected MySQLStorageEngine | |
| public FunctionalDependencyAnalysisSupport | getFunctionalDependencyAnalysisSupport()
Overrides org. GROUP BY and ORDER BY clauses.
|
| protected DatabaseVersion | getMinimumSupportedVersion()
Overrides org. |
| public DatabaseVersion | |
| public NationalizationSupport | getNationalizationSupport()
Overrides org. |
| public String | getQuerySequencesString()
Overrides org. select command used retrieve the names of all sequences.
|
| public SequenceInformationExtractor | getSequenceInformationExtractor()
Overrides org. SequenceInformationExtractor which is able to extract
org.
from the JDBC result set returned when getQuerySequencesString()
is executed.
|
| 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. |
| protected void | registerColumnTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry)
Overrides org. getMaxVarcharLength(), getMaxNVarcharLength(),
and getMaxVarbinaryLength().
|
| public JdbcType | resolveSqlTypeDescriptor(String
the column type name columnTypeName, int the jdbcTypeCode, int type codethe precision or 0 precision, int the scale or 0 scale, JdbcTypeRegistry jdbcTypeRegistry)Overrides org. JdbcType to a column of a JDBC
result set based on the column type name, JDBC type code,
precision, and scale.
|
| pack-priv boolean | |
| public boolean | supportsColumnCheck()
Overrides org. |
| pack-priv boolean | |
| public boolean | supportsIfExistsAfterAlterTable()
Overrides org. alter table, can the phrase if exists be
applied?
|
| public boolean | supportsIfExistsBeforeConstraintName()
Overrides org. alter table statement,
can the phrase if exists be applied before the constraint
name?
|
| public boolean | Returns: true for 10.5 and above because Maria supports
insert ... returning even though MySQL does notOverrides org. insert statement, using native SQL syntax?
|
| public boolean | supportsLateral()
Overrides org. lateral keyword or a
proprietary alternative?
|
| public boolean | supportsNoWait()
Overrides org. NO_WAIT timeout.
|
| public boolean | supportsRecursiveCTE()
Overrides org. |
| public boolean | supportsSkipLocked()
Overrides org. SKIP_LOCKED timeout.
|
| public boolean | supportsWait()
Overrides org. WAIT timeout.
|
| public boolean | supportsWindowFunctions()
Overrides org. row_number() over (..)?
|
| MINIMUM_VERSION | back to summary |
|---|---|
| private static final DatabaseVersion MINIMUM_VERSION | |
| MYSQL57 | back to summary |
|---|---|
| private static final DatabaseVersion MYSQL57 | |
| MariaDBDialect | back to summary |
|---|---|
| public MariaDBDialect() | |
| MariaDBDialect | back to summary |
|---|---|
| public MariaDBDialect(DatabaseVersion version) | |
| MariaDBDialect | back to summary |
|---|---|
| public MariaDBDialect(DialectResolutionInfo info) | |
| buildIdentifierHelper | back to summary |
|---|---|
| public IdentifierHelper buildIdentifierHelper(IdentifierHelperBuilder builder, DatabaseMetaData dbMetaData) throws SQLException Overrides org. Doc from org. The The incoming builder will have the following set:
By default, Hibernate will do the following:
| |
| contributeTypes | back to summary |
|---|---|
| public void contributeTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Overrides org. Doc from org. A callback which allows the
| |
| getDefaultMySQLStorageEngine | back to summary |
|---|---|
| protected MySQLStorageEngine getDefaultMySQLStorageEngine() Overrides org.
| |
| getFunctionalDependencyAnalysisSupport | back to summary |
|---|---|
| public FunctionalDependencyAnalysisSupport getFunctionalDependencyAnalysisSupport() Overrides org. Doc from org. Get this dialect's level of support for primary key functional dependency analysis
within
| |
| 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.
| |
| getMySQLVersion | back to summary |
|---|---|
| public DatabaseVersion getMySQLVersion() Overrides org.
| |
| getNationalizationSupport | back to summary |
|---|---|
| public NationalizationSupport getNationalizationSupport() Overrides org. Doc from org. Determines whether this database requires the use of explicitly nationalized character (Unicode) data types.
That is, whether the use of
| |
| getQuerySequencesString | back to summary |
|---|---|
| public String getQuerySequencesString() Overrides org. Doc from org. Get the | |
| getSequenceInformationExtractor | back to summary |
|---|---|
| public SequenceInformationExtractor getSequenceInformationExtractor() Overrides org. Doc from org. A
| |
| getSequenceSupport | back to summary |
|---|---|
| public SequenceSupport getSequenceSupport() Overrides org. Doc from 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.
| |
| registerColumnTypes | back to summary |
|---|---|
| protected void registerColumnTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Overrides org. Doc from org. Register ANSI-standard column types using the length limits defined
by
This method is always called when a
| |
| resolveSqlTypeDescriptor | back to summary |
|---|---|
| public JdbcType resolveSqlTypeDescriptor(String columnTypeName, int jdbcTypeCode, int precision, int scale, JdbcTypeRegistry jdbcTypeRegistry) Overrides org. Doc from org. Assigns an appropriate | |
| supportsAliasLocks | back to summary |
|---|---|
| pack-priv boolean supportsAliasLocks() Overrides org.
| |
| supportsColumnCheck | back to summary |
|---|---|
| public boolean supportsColumnCheck() Overrides org. Doc from org. Does this dialect support column-level check constraints?
| |
| supportsForShare | back to summary |
|---|---|
| pack-priv boolean supportsForShare() Overrides org.
| |
| supportsIfExistsAfterAlterTable | back to summary |
|---|---|
| public boolean supportsIfExistsAfterAlterTable() Overrides org. Doc from org. For an
| |
| supportsIfExistsBeforeConstraintName | back to summary |
|---|---|
| public boolean supportsIfExistsBeforeConstraintName() Overrides org. Doc from org. For dropping a constraint with an
| |
| supportsInsertReturning | back to summary |
|---|---|
| public boolean supportsInsertReturning() Overrides org. Doc from org. Does this dialect fully support returning arbitrary generated column values
after execution of an Support for identity columns is insufficient here, we require something like:
| |
| supportsLateral | back to summary |
|---|---|
| public boolean supportsLateral() Overrides org. Doc from org. Does this dialect support the SQL
| |
| supportsNoWait | back to summary |
|---|---|
| public boolean supportsNoWait() Overrides org. Doc from org. Does this dialect support
| |
| 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
| |
| supportsWait | back to summary |
|---|---|
| public boolean supportsWait() Overrides org. Doc from org. Does this dialect support
| |
| supportsWindowFunctions | back to summary |
|---|---|
| public boolean supportsWindowFunctions() Overrides org. Doc from org. Does this dialect support window functions like
| |