public class MySQLDialect extends Object implements JdbcDialect
JdbcDialect.JdbcDialect.DialectResolutionContext, JdbcDialect.LimitHandler, JdbcDialect.SQLFunction, JdbcDialect.SQLParameterProcessor, JdbcDialect.SQLPathProcessor, JdbcDialect.SQLValueDeserializer, JdbcDialect.StatementConfigurationException, JdbcDialect.StatementConfigurator, JdbcDialect.StatementParameterHandler| Constructor and Description |
|---|
MySQLDialect() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteStatementTargetRequired()
Get whether the DELETE clause target must be specified.
|
boolean |
generatedKeyAlwaysReturned()
Retrieves whether a generated key will always be returned if the column name(s) or index(es) specified for the
auto generated key column(s) are valid and the statement succeeds.
|
Optional<JdbcDialect.LimitHandler> |
getLimitHandler()
Get the
JdbcDialect.LimitHandler |
JdbcDialect.StatementConfigurator |
getStatementConfigurator()
Get the
JdbcDialect.StatementConfigurator to use to configure JDBC statements. |
void |
init(JdbcDatastore datastore)
Dialect initialization hook at parent datastore initialization.
|
boolean |
supportsGetGeneratedKeys()
Retrieves whether auto-generated keys can be retrieved after a statement has been executed.
|
boolean |
supportsLikeEscapeClause()
Retrieves whether this database supports specifying a
LIKE escape clause. |
boolean |
useOuterInJoins()
Get whether to use the
OUTER keyword in join serialization. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteStatementAliasSupported, getColumnName, getFunction, getParameterProcessor, getPathProcessor, getPrimaryKey, getStatementParameterHandler, getTableName, getValueDeserializer, supportGetGeneratedKeyByNamepublic void init(JdbcDatastore datastore) throws SQLException
JdbcDialectinit in interface JdbcDialectdatastore - Parent datastoreSQLException - An error occurred during dialect initializationpublic JdbcDialect.StatementConfigurator getStatementConfigurator()
JdbcDialectJdbcDialect.StatementConfigurator to use to configure JDBC statements.getStatementConfigurator in interface JdbcDialectpublic boolean supportsLikeEscapeClause()
JdbcDialectLIKE escape clause.supportsLikeEscapeClause in interface JdbcDialecttrue if so; false otherwisepublic boolean supportsGetGeneratedKeys()
JdbcDialectsupportsGetGeneratedKeys in interface JdbcDialecttrue if auto-generated keys can be retrieved after a statement has executed;
false otherwisepublic boolean generatedKeyAlwaysReturned()
JdbcDialectgeneratedKeyAlwaysReturned in interface JdbcDialecttrue if so; false otherwisepublic boolean useOuterInJoins()
JdbcDialectOUTER keyword in join serialization.useOuterInJoins in interface JdbcDialecttrue to use the OUTER keyword in join serializationpublic boolean deleteStatementTargetRequired()
JdbcDialectdeleteStatementTargetRequired in interface JdbcDialecttrue if the DELETE clause target must be specifiedpublic Optional<JdbcDialect.LimitHandler> getLimitHandler()
JdbcDialectJdbcDialect.LimitHandlergetLimitHandler in interface JdbcDialectCopyright © 2017 The Holon Platform. All rights reserved.