Class MySqlDialect
java.lang.Object
org.springframework.data.relational.core.dialect.AbstractDialect
org.springframework.data.relational.core.dialect.MySqlDialect
- All Implemented Interfaces:
Dialect
- Direct Known Subclasses:
MariaDbDialect
A SQL dialect for MySQL.
- Since:
- 1.1
- Author:
- Mark Paluch, Jens Schauder, Myeonghyeon Lee
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MySqlDialectDeprecated, for removal: This API element is subject to removal in a future version.static final IdentifierProcessingDeprecated, for removal: This API element is subject to removal in a future version.Construct your ownIdentifierProcessing. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMySqlDialect(IdentifierProcessing identifierProcessing) Creates a newMySqlDialectgivenIdentifierProcessing. -
Method Summary
Modifier and TypeMethodDescriptionReturn a collection of converters for this dialect.Returns theIdentifierProcessingused for processingSqlIdentifierwhen converting them to SQL snippets or parameter names.limit()Return theLimitClauseused by this dialect.lock()Return theLockClauseused by this dialect.Return theOrderByNullPrecedenceused by this dialect.Methods inherited from class AbstractDialect
getAfterFromTable, getAfterOrderBy, getSelectContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Dialect
getArraySupport, getExistsFunction, getInsertRenderContext, getLikeEscaper, simpleTypes, supportsSingleQueryLoading
-
Field Details
-
MYSQL_IDENTIFIER_PROCESSING
@Deprecated(forRemoval=true, since="4.0") public static final IdentifierProcessing MYSQL_IDENTIFIER_PROCESSINGDeprecated, for removal: This API element is subject to removal in a future version.Construct your ownIdentifierProcessing. There is no one standard identifier processing for MySql.SeeIdentifier Case SensitivityMySQL defaults forIdentifierProcessing. -
INSTANCE
Deprecated, for removal: This API element is subject to removal in a future version.use either theorg.springframework.data.r2dbc.dialect.MySqlDialectororg.springframework.data.jdbc.core.dialect.JdbcMySqlDialectSingleton instance.
-
-
Constructor Details
-
MySqlDialect
protected MySqlDialect() -
MySqlDialect
Creates a newMySqlDialectgivenIdentifierProcessing.- Parameters:
identifierProcessing- must not be null.- Since:
- 2.0
-
-
Method Details
-
limit
Description copied from interface:DialectReturn theLimitClauseused by this dialect.- Returns:
- the
LimitClauseused by this dialect.
-
lock
Description copied from interface:DialectReturn theLockClauseused by this dialect.- Returns:
- the
LockClauseused by this dialect.
-
getIdentifierProcessing
Description copied from interface:DialectReturns theIdentifierProcessingused for processingSqlIdentifierwhen converting them to SQL snippets or parameter names.- Returns:
- the
IdentifierProcessing. Guaranteed to be not null.
-
getConverters
Description copied from interface:DialectReturn a collection of converters for this dialect.- Returns:
- a collection of converters for this dialect.
-
orderByNullHandling
Description copied from interface:DialectReturn theOrderByNullPrecedenceused by this dialect.- Returns:
- the
OrderByNullPrecedenceused by this dialect.
-
getIdGeneration
-
org.springframework.data.r2dbc.dialect.MySqlDialectororg.springframework.data.jdbc.core.dialect.JdbcMySqlDialect