| Modifier and Type | Field and Description |
|---|---|
| private static final ViolatedConstraintNameExtractor | |
| private final int | |
| private final int | |
| private static final DatabaseVersion | |
| private final boolean | |
| private final Dialect. | |
| private final MySQLStorageEngine |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | appendDatetimeFormat(SqlAppender appender, String format)
Overrides org. java. to
whatever pattern language is understood by the
native datetime formatting function for this
database (often the to_char() function).
|
| public void | appendDateTimeLiteral(SqlAppender appender, TemporalAccessor temporalAccessor, TemporalType precision, TimeZone jdbcTimeZone)
Overrides org. java.
value to the given SqlAppender.
|
| public void | appendDateTimeLiteral(SqlAppender appender, Date date, TemporalType precision, TimeZone jdbcTimeZone)
Overrides org. Date
value to the given SqlAppender.
|
| public void | appendDateTimeLiteral(SqlAppender appender, Calendar calendar, TemporalType precision, TimeZone jdbcTimeZone)
Overrides org. Calendar
value to the given SqlAppender.
|
| public void | appendLiteral(SqlAppender appender, String literal)
Overrides org. SqlAppender.
|
| 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 SQLExceptionConversionDelegate | buildSQLExceptionConversionDelegate()
Overrides org. SQLExceptionConversionDelegate for interpreting
dialect-specific error or
SQLState codes.
|
| public boolean | canCreateCatalog()
Does this dialect support creating and dropping catalogs?
|
| public boolean | canCreateSchema()
Does this dialect support creating and dropping schema?
|
| public boolean | canDisableConstraints()
Overrides org. |
| public String | castPattern(CastType
a from, CastType CastType indicating the
type of the value argumenta to)CastType indicating the
type the value argument is cast toOverrides org. cast() function call.
|
| protected String | castType(int
The JDBC type code representing the target type sqlTypeCode)Overrides org. cast( ...
|
| public char | closeQuote()
Overrides org. |
| protected String | columnType(int
a SQL sqlTypeCode)type codeOverrides org. Types or SqlTypes.
|
| public void | contributeTypes(TypeContributions
Callback to contribute the types typeContributions, ServiceRegistry The service registry serviceRegistry)Overrides org. Dialect to contribute types.
|
| private MySQLStorageEngine | |
| protected static DatabaseVersion | |
| public String | currentTimestamp()
MySQL 5.7 precision defaults to seconds, but microseconds is better
|
| public static Replacer | |
| public boolean | dropConstraints()
Do we need to drop constraints before dropping tables in this dialect?
|
| public String | extractPattern(TemporalUnit
the first argument unit)Overrides org. |
| public String | getAddForeignKeyConstraintString(String
The foreign key constraint name constraintName, String[] The names of the columns comprising the
foreign key foreignKey, String The table referenced by the foreign key referencedTable, String[] The explicit columns in the referencedTable
referenced by this foreign key. primaryKey, boolean if false, constraint should be
explicit about which column names
the constraint refers to referencesPrimaryKey)Overrides org. |
| public String | getAlterColumnTypeString(String
the name of the column columnName, String the new type of the column columnType, String the full column definition columnDefinition)Overrides org. alter table command which modifies a
column type, or null if column types cannot be modified.
|
| protected static int | |
| public String | getColumnComment(String
The comment to apply comment)
Get the comment into a form supported for column definition.
|
| public String[] | getCreateCatalogCommand(String
The name of the catalog to be created. catalogName)Overrides org. |
| public String[] | getCreateSchemaCommand(String
The name of the schema to be created. schemaName)Overrides org. |
| public String | getCurrentTimestampSelectString()
Overrides org. |
| public long | getDefaultLobLength()
Overrides org. |
| protected MySQLStorageEngine | |
| public String | getDisableConstraintsStatement()
Overrides org. |
| public String[] | getDropCatalogCommand(String
The name of the catalog to be dropped. catalogName)Overrides org. |
| public String | getDropForeignKeyString()
Overrides org. alter table command used to drop
a foreign key constraint, usually drop constraint.
|
| public String[] | getDropSchemaCommand(String
The name of the schema to be dropped. schemaName)Overrides org. |
| public String | getDropUniqueKeyString()
Overrides org. alter table command used to drop
a unique key constraint.
|
| public String | getEnableConstraintsStatement()
Overrides org. |
| public String | getEnumTypeDeclaration(String name, String[]
the enumerated values of the type values)Overrides org. enum column type,
return the type declaration for the given enumeration of values.
|
| public SqmMultiTableInsertStrategy | getFallbackSqmInsertStrategy(EntityMappingType rootEntityDescriptor, RuntimeModelCreationContext runtimeModelCreationContext)
Overrides org.
Deprecated
as a consequence of
The RuntimeModelCreationContext being deprecated.
SqmMultiTableInsertStrategy to use when not specified by
org..
|
| public SqmMultiTableMutationStrategy | getFallbackSqmMutationStrategy(EntityMappingType rootEntityDescriptor, RuntimeModelCreationContext runtimeModelCreationContext)
Overrides org.
Deprecated
as a consequence of
The RuntimeModelCreationContext being deprecated.
SqmMultiTableMutationStrategy to use when not specified by
org..
|
| public int | getFloatPrecision()
Overrides org. Float or
float.
|
| public String | getForUpdateNowaitString()
Overrides org. FOR UPDATE NOWAIT syntax specific to this dialect.
|
| public String | getForUpdateNowaitString(String
The columns to be write locked. aliases)Overrides org. FOR UPDATE OF column_list NOWAIT fragment appropriate
for this dialect, given the aliases of the columns to be write locked.
|
| public String | getForUpdateSkipLockedString()
Overrides org. FOR UPDATE SKIP LOCKED syntax specific to this dialect.
|
| public String | getForUpdateSkipLockedString(String
The columns to be write locked. aliases)Overrides org. FOR UPDATE OF column_list SKIP LOCKED fragment appropriate
for this dialect, given the aliases of the columns to be write locked.
|
| public String | getForUpdateString(String
The columns to be write locked. aliases)Overrides org. FOR UPDATE OF column_list fragment appropriate
for this dialect, given the aliases of the columns to be write
locked.
|
| public long | getFractionalSecondPrecisionInNanos()
Overrides org. microsecond is the smallest unit for
timestampadd() and timestampdiff(),
and the highest precision for a timestamp.
|
| public FunctionalDependencyAnalysisSupport | getFunctionalDependencyAnalysisSupport()
Overrides org. GROUP BY and ORDER BY clauses.
|
| public SelectItemReferenceStrategy | getGroupBySelectItemReferenceStrategy()
Overrides org. group by clause.
|
| 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).
|
| public int | getMaxAliasLength()
What is the maximum length Hibernate can use for generated aliases?
|
| public int | getMaxIdentifierLength()
Overrides org. |
| public int | getMaxVarbinaryLength()
Overrides org. java.-like type.
|
| public int | getMaxVarcharLength()
Overrides org. java.-like type.
|
| protected DatabaseVersion | getMinimumSupportedVersion()
Overrides org. |
| public DatabaseVersion | |
| public NameQualifierSupport | |
| public String | getNullColumnString(String columnType)
Overrides org. |
| public NullOrdering | getNullOrdering()
Returns the default ordering of null.
|
| public int | getPreferredSqlTypeCodeForBoolean()
Overrides org. boolean.
|
| public String | getQueryHintString(String
The query to which to apply the hint. query, String The hints to apply hints)
Apply a hint to the given SQL query.
|
| public String | getReadLockString(int
in milliseconds, -1 for indefinite wait and 0 for no wait. timeout)Overrides org. SELECT statements to
acquire READ locks for this dialect.
|
| public String | getReadLockString(String
The columns to be read locked. aliases, int in milliseconds, -1 for indefinite wait and 0 for no wait. timeout)Overrides org. SELECT statements to
acquire READ locks for this dialect, given the aliases of
the columns to be read locked.
|
| public ResultSet | getResultSet(CallableStatement
The callable statement. ps)Overrides org. registerResultSetOutParameter, extract the
ResultSet from the OUT parameter.
|
| public String | getSelectGUIDString()
Overrides org. |
| public SequenceSupport | getSequenceSupport()
No support for sequences.
|
| public Dialect. | getSizeStrategy()
Overrides org. SizeStrategy for column types.
|
| public SqlAstTranslatorFactory | getSqlAstTranslatorFactory()
Overrides org. SqlAstTranslatorFactory specific to this dialect, or null
to use the standard translator.
|
| public TemporaryTableKind | getSupportedTemporaryTableKind()
Overrides org. |
| public String | getTableComment(String
The comment to apply comment)
Get the comment into a form supported for table definition.
|
| public String | getTableTypeString()
Overrides org. create table
statement.
|
| public AfterUseAction | getTemporaryTableAfterUseAction()
Overrides org. |
| public BeforeUseAction | getTemporaryTableBeforeUseAction()
Overrides org. |
| public String | getTemporaryTableCreateCommand()
Overrides org. |
| public String | getTemporaryTableDropCommand()
Overrides org. |
| public ViolatedConstraintNameExtractor | getViolatedConstraintNameExtractor()
Overrides org. Implements org. ViolatedConstraintNameExtractor for extracting the name of
a violated constraint from a SQLException.
|
| public String | getWriteLockString(int
in milliseconds, -1 for indefinite wait and 0 for no wait. timeout)Overrides org. SELECT statements to
acquire pessimistic WRITE locks for this dialect.
|
| public String | getWriteLockString(String
The columns to be read locked. aliases, int in milliseconds, -1 for indefinite wait and 0 for no wait. timeout)Overrides org. SELECT statements to
acquire WRITE locks for this dialect, given the aliases of
the columns to be write locked.
|
| public RowLockStrategy | getWriteRowLockStrategy()
Overrides org. |
| public boolean | hasSelfReferentialForeignKeyBug()
Overrides org. |
| protected void | initDefaultProperties()
Overrides org. |
| public void | initializeFunctionRegistry(FunctionContributions functionContributions)
Overrides org. |
| public boolean | isCurrentTimestampSelectStringCallable()
Overrides org. getCurrentTimestampSelectString
treated as callable?
|
| public boolean | isJdbcLogWarningsEnabledByDefault()
Overrides org. |
| public boolean | |
| private static int | |
| private static int | |
| public char | openQuote()
Overrides org. |
| public boolean | qualifyIndexName()
Do we need to qualify index names with the schema name?
|
| protected void | registerColumnTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry)
Overrides org. getMaxVarcharLength(), getMaxNVarcharLength(),
and getMaxVarbinaryLength().
|
| protected void | registerDefaultKeywords()
Overrides org. |
| 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, either an OUT parameter, or a
REF_CURSOR parameter as defined in Java 8.
|
| 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 | supportsAlterColumnType()
Overrides org. |
| public boolean | supportsCascadeDelete()
Overrides org. on delete actions in foreign key definitions?
|
| public boolean | supportsColumnCheck()
Overrides org. |
| public boolean | supportsCommentOn()
Does this dialect support commenting on tables and columns?
|
| public boolean | supportsCurrentTimestampSelection()
Overrides org. |
| pack-priv boolean | |
| public boolean | supportsIfExistsBeforeTableName()
Overrides org. if exists be
applied before the table name?
|
| public boolean | supportsIsTrue()
Overrides org. is true and is false
operators?
|
| public boolean | supportsLateral()
Overrides org. lateral keyword or a
proprietary alternative?
|
| public boolean | supportsLobValueChangePropagation()
Overrides org. |
| public boolean | supportsLockTimeouts()
Overrides org. |
| public boolean | supportsNoWait()
Overrides org. NO_WAIT timeout.
|
| public boolean | supportsNullPrecedence()
Overrides org. nulls first and nulls last?
|
| public boolean | supportsOffsetInSubquery()
Overrides org. offset in subqueries?
|
| public boolean | supportsRecursiveCTE()
Overrides org. |
| public boolean | supportsSkipLocked()
Overrides org. SKIP_LOCKED timeout.
|
| public boolean | supportsSubqueryOnMutatingTable()
Overrides org. |
| public boolean | supportsTemporalLiteralOffset()
Overrides org. |
| public boolean | supportsWait()
Overrides org. WAIT timeout.
|
| public boolean | supportsWindowFunctions()
Overrides org. row_number() over (..)?
|
| private void | |
| public String | timestampaddPattern(TemporalUnit
The unit to add to the temporal unit, TemporalType The type of the temporal temporalType, IntervalType The type of interval to add or null if it's not a native interval intervalType)Overrides org. timestampadd() function call.
|
| public String | timestampdiffPattern(TemporalUnit
the first argument unit, TemporalType true if the first argument is
a timestamp, false if a date fromTemporalType, TemporalType true if the second argument is toTemporalType)Overrides org. timestampdiff() function call.
|
| public boolean | useMaterializedLobWhenCapacityExceeded()
Overrides org.
|
| private String |