类 MySQL8Dialect
-
- 所有已实现的接口:
ConversionContext
public class MySQL8Dialect extends MySQL57Dialect
- 作者:
- Vlad Mihalcea
-
-
字段概要
-
从类继承的字段 org.hibernate.dialect.MySQLDialect
ESCAPE_PATTERN_REPLACEMENT
-
-
构造器概要
构造器 构造器 说明 MySQL8Dialect()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetForUpdateNowaitString()Retrieves the FOR UPDATE NOWAIT syntax specific to this dialect.StringgetForUpdateNowaitString(String aliases)Get the FOR UPDATE OF column_list NOWAIT fragment appropriate for this dialect given the aliases of the columns to be write locked.StringgetForUpdateSkipLockedString()Retrieves the FOR UPDATE SKIP LOCKED syntax specific to this dialect.StringgetForUpdateSkipLockedString(String aliases)Get the FOR UPDATE OF column_list SKIP LOCKED fragment appropriate for this dialect given the aliases of the columns to be write locked.StringgetForUpdateString(String aliases)Get the FOR UPDATE OF column_list fragment appropriate for this dialect given the aliases of the columns to be write locked.StringgetReadLockString(int timeout)Get the string to append to SELECT statements to acquire READ locks for this dialect.StringgetReadLockString(String aliases, int timeout)Get the string to append to SELECT statements to acquire READ locks for this dialect given the aliases of the columns to be read locked.StringgetWriteLockString(int timeout)Get the string to append to SELECT statements to acquire WRITE locks for this dialect.StringgetWriteLockString(String aliases, int timeout)Get the string to append to SELECT statements to acquire WRITE locks for this dialect given the aliases of the columns to be write locked.booleansupportsNoWait()Does this dialect/database support NO_WAIT timeout.booleansupportsSkipLocked()Does this dialect/database support SKIP_LOCKED timeout.-
从类继承的方法 org.hibernate.dialect.MySQL57Dialect
supportsRowValueConstructorSyntaxInInList
-
从类继承的方法 org.hibernate.dialect.MySQL55Dialect
getDefaultMySQLStorageEngine
-
从类继承的方法 org.hibernate.dialect.MySQL5Dialect
getEngineKeyword, getQueryHintString, getViolatedConstraintNameExtracter, registerVarcharTypes, supportsColumnCheck, supportsUnionAll
-
从类继承的方法 org.hibernate.dialect.MySQLDialect
areStringComparisonsCaseInsensitive, buildSQLExceptionConversionDelegate, canCreateCatalog, canCreateSchema, closeQuote, dropConstraints, escapeLiteral, fixedPointNumberCastTarget, floatingPointNumberCastTarget, getAddColumnString, getAddForeignKeyConstraintString, getCastTypeName, getColumnComment, getCreateCatalogCommand, getCreateSchemaCommand, getCurrentTimestampSelectString, getDefaultMultiTableBulkIdStrategy, getDropCatalogCommand, getDropForeignKeyString, getDropSchemaCommand, getForUpdateString, getIdentityColumnSupport, getLimitHandler, getLimitString, getNotExpression, getResultSet, getSelectGUIDString, getTableComment, getTableTypeString, getUniqueDelegate, hasSelfReferentialForeignKeyBug, isCurrentTimestampSelectStringCallable, isJdbcLogWarningsEnabledByDefault, openQuote, qualifyIndexName, registerResultSetOutParameter, renderOrderByElement, smallIntegerCastTarget, supportsCascadeDelete, supportsCurrentTimestampSelection, supportsEmptyInList, supportsIfExistsBeforeTableName, supportsLimit, supportsLobValueChangePropogation, supportsLockTimeouts, supportsRowValueConstructorSyntax, supportsSelectAliasInGroupByClause, supportsSubqueryOnMutatingTable
-
从类继承的方法 org.hibernate.dialect.Dialect
addSqlHintOrComment, appendLockHint, appendLockHint, applyLocksToSql, augmentRecognizedTableTypes, bindLimitParametersFirst, bindLimitParametersInReverseOrder, buildIdentifierHelper, buildSQLExceptionConverter, cast, cast, cast, contributeTypes, convertToFirstRowValue, createCaseFragment, createOuterJoinFragment, defaultScrollMode, doesReadCommittedCauseWritersToBlockReaders, doesRepeatableReadCauseReadersToBlockWriters, forceLimitUsage, forceLobAsLastValue, forUpdateOfColumns, getAddColumnSuffixString, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getAddUniqueConstraintString, getAlterTableString, getAuxiliaryDatabaseObjectExporter, getCallableStatementSupport, getCascadeConstraintsString, getCaseInsensitiveLike, getColumnAliasExtractor, getCreateMultisetTableString, getCreateSequenceString, getCreateSequenceString, getCreateSequenceStrings, getCreateSequenceStrings, getCreateTableString, getCrossJoinSeparator, getCurrentSchemaCommand, getCurrentTimestampSQLFunctionName, getDefaultBatchLoadSizingStrategy, getDefaultProperties, getDialect, getDialect, getDropSequenceString, getDropSequenceStrings, getDropTableString, getForeignKeyExporter, getForUpdateString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIndexExporter, getInExpressionCountLimit, getKeywords, getLimitString, getLobMergeStrategy, getLockingStrategy, getLowercaseFunction, getMaxAliasLength, getNameQualifierSupport, getNativeIdentifierGeneratorClass, getNativeIdentifierGeneratorStrategy, getNoColumnsInsertString, getNullColumnString, getQueryHintString, getQuerySequencesString, getResultSet, getResultSet, getSchemaNameResolver, getSelectClauseNullString, getSelectSequenceNextValString, getSequenceExporter, getSequenceInformationExtractor, getSequenceNextValString, getSqlTypeDescriptorOverride, getTableExporter, getTypeName, getTypeName, getUniqueKeyExporter, hasAlterTable, inlineLiteral, isLegacyLimitHandlerBehaviorEnabled, isLockTimeoutParameterized, isTypeNameRegistered, prependComment, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, registerResultSetOutParameter, remapSqlTypeDescriptor, replaceResultVariableInOrderByClauseWithPosition, requiresCastingOfParametersInSelectClause, requiresParensForTupleDistinctCounts, supportsBindAsCallableArgument, supportsCaseInsensitiveLike, supportsCircularCascadeDeleteConstraints, supportsCommentOn, supportsExistsInSelect, supportsExpectedLobUsagePattern, supportsIfExistsAfterAlterTable, supportsIfExistsAfterConstraintName, supportsIfExistsAfterTableName, supportsIfExistsBeforeConstraintName, supportsJdbcConnectionLobCreation, supportsLimitOffset, supportsNamedParameters, supportsNationalizedTypes, supportsNoColumnsInsert, supportsNonQueryWithCTE, supportsNotNullUnique, supportsOuterJoinForUpdate, supportsParametersInInsertSelect, supportsPartitionBy, supportsPooledSequences, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsSequences, supportsSubselectAsInPredicateLHS, supportsTableCheck, supportsTupleCounts, supportsTupleDistinctCounts, supportsTuplesInSubqueries, supportsUnboundedLobLocatorMaterialization, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsValuesList, supportsVariableLimit, toBooleanValueString, toString, transformSelectString, useFollowOnLocking, useFollowOnLocking, useInputStreamToInsertBlob, useMaxForLimit
-
-
-
-
方法详细资料
-
getWriteLockString
public String getWriteLockString(int timeout)
从类复制的说明:DialectGet the string to append to SELECT statements to acquire WRITE locks for this dialect. Location of the returned string is treated the same as getForUpdateString.- 覆盖:
getWriteLockString在类中MySQLDialect- 参数:
timeout- in milliseconds, -1 for indefinite wait and 0 for no wait.- 返回:
- The appropriate LOCK clause string.
-
getWriteLockString
public String getWriteLockString(String aliases, int timeout)
从类复制的说明:DialectGet the string to append to SELECT statements to acquire WRITE locks for this dialect given the aliases of the columns to be write locked. Location of the of the returned string is treated the same as getForUpdateString.- 覆盖:
getWriteLockString在类中Dialect- 参数:
aliases- The columns to be read locked.timeout- in milliseconds, -1 for indefinite wait and 0 for no wait.- 返回:
- The appropriate LOCK clause string.
-
getReadLockString
public String getReadLockString(int timeout)
从类复制的说明:DialectGet the string to append to SELECT statements to acquire READ locks for this dialect. Location of the returned string is treated the same as getForUpdateString.- 覆盖:
getReadLockString在类中MySQLDialect- 参数:
timeout- in milliseconds, -1 for indefinite wait and 0 for no wait.- 返回:
- The appropriate LOCK clause string.
-
getReadLockString
public String getReadLockString(String aliases, int timeout)
从类复制的说明:DialectGet the string to append to SELECT statements to acquire READ locks for this dialect given the aliases of the columns to be read locked. Location of the returned string is treated the same as getForUpdateString.- 覆盖:
getReadLockString在类中Dialect- 参数:
aliases- The columns to be read locked.timeout- in milliseconds, -1 for indefinite wait and 0 for no wait.- 返回:
- The appropriate LOCK clause string.
-
getForUpdateSkipLockedString
public String getForUpdateSkipLockedString()
从类复制的说明:DialectRetrieves the FOR UPDATE SKIP LOCKED syntax specific to this dialect.- 覆盖:
getForUpdateSkipLockedString在类中Dialect- 返回:
- The appropriate FOR UPDATE SKIP LOCKED clause string.
-
getForUpdateSkipLockedString
public String getForUpdateSkipLockedString(String aliases)
从类复制的说明:DialectGet the FOR UPDATE OF column_list SKIP LOCKED fragment appropriate for this dialect given the aliases of the columns to be write locked.- 覆盖:
getForUpdateSkipLockedString在类中Dialect- 参数:
aliases- The columns to be write locked.- 返回:
- The appropriate FOR UPDATE colunm_list SKIP LOCKED clause string.
-
getForUpdateNowaitString
public String getForUpdateNowaitString()
从类复制的说明:DialectRetrieves the FOR UPDATE NOWAIT syntax specific to this dialect.- 覆盖:
getForUpdateNowaitString在类中Dialect- 返回:
- The appropriate FOR UPDATE NOWAIT clause string.
-
getForUpdateNowaitString
public String getForUpdateNowaitString(String aliases)
从类复制的说明:DialectGet the FOR UPDATE OF column_list NOWAIT fragment appropriate for this dialect given the aliases of the columns to be write locked.- 覆盖:
getForUpdateNowaitString在类中Dialect- 参数:
aliases- The columns to be write locked.- 返回:
- The appropriate FOR UPDATE OF colunm_list NOWAIT clause string.
-
getForUpdateString
public String getForUpdateString(String aliases)
从类复制的说明:DialectGet the FOR UPDATE OF column_list fragment appropriate for this dialect given the aliases of the columns to be write locked.- 覆盖:
getForUpdateString在类中Dialect- 参数:
aliases- The columns to be write locked.- 返回:
- The appropriate FOR UPDATE OF column_list clause string.
-
supportsSkipLocked
public boolean supportsSkipLocked()
从类复制的说明:DialectDoes this dialect/database support SKIP_LOCKED timeout.- 覆盖:
supportsSkipLocked在类中Dialect- 返回:
trueif SKIP_LOCKED is supported
-
supportsNoWait
public boolean supportsNoWait()
从类复制的说明:DialectDoes this dialect/database support NO_WAIT timeout.- 覆盖:
supportsNoWait在类中Dialect- 返回:
trueif NO_WAIT is supported
-
-