类 MySQLDialect
- java.lang.Object
-
- org.hibernate.dialect.Dialect
-
- org.hibernate.dialect.MySQLDialect
-
- 所有已实现的接口:
ConversionContext
public class MySQLDialect extends Dialect
An SQL dialect for MySQL (prior to 5.x).- 作者:
- Gavin King
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringESCAPE_PATTERN_REPLACEMENT
-
构造器概要
构造器 构造器 说明 MySQLDialect()Constructs a MySQLDialect
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanareStringComparisonsCaseInsensitive()Are string comparisons implicitly case insensitive.SQLExceptionConversionDelegatebuildSQLExceptionConversionDelegate()Build an instance of aSQLExceptionConversionDelegatefor interpreting dialect-specific error or SQLState codes.booleancanCreateCatalog()Does this dialect support catalog creation?booleancanCreateSchema()Does this dialect support schema creation?charcloseQuote()The character specific to this dialect used to close a quoted identifier.booleandropConstraints()Do we need to drop constraints before dropping tables in this dialect?protected StringescapeLiteral(String literal)Escape String literal.protected StringfixedPointNumberCastTarget()Determine the cast target forTypes.NUMERICprotected StringfloatingPointNumberCastTarget()Determine the cast target forTypes.FLOATandTypes.REAL(DOUBLE)StringgetAddColumnString()The syntax used to add a column to a table (optional).StringgetAddForeignKeyConstraintString(String constraintName, String[] foreignKey, String referencedTable, String[] primaryKey, boolean referencesPrimaryKey)The syntax used to add a foreign key constraint to a table.StringgetCastTypeName(int code)Get the name of the database type appropriate for casting operations (via the CAST() SQL function) for the givenTypestypecode.StringgetColumnComment(String comment)Get the comment into a form supported for column definition.String[]getCreateCatalogCommand(String catalogName)Get the SQL command used to create the named catalogString[]getCreateSchemaCommand(String schemaName)Get the SQL command used to create the named schemaStringgetCurrentTimestampSelectString()Retrieve the command used to retrieve the current timestamp from the database.MultiTableBulkIdStrategygetDefaultMultiTableBulkIdStrategy()protected MySQLStorageEnginegetDefaultMySQLStorageEngine()String[]getDropCatalogCommand(String catalogName)Get the SQL command used to drop the named catalogStringgetDropForeignKeyString()String[]getDropSchemaCommand(String schemaName)Get the SQL command used to drop the named schemaprotected StringgetEngineKeyword()StringgetForUpdateString()Get the string to append to SELECT statements to acquire locks for this dialect.IdentityColumnSupportgetIdentityColumnSupport()Get the appropriateIdentityColumnSupportLimitHandlergetLimitHandler()Returns the delegate managing LIMIT clause.StringgetLimitString(String sql, boolean hasOffset)Apply a limit clause to the query.StringgetNotExpression(String expression)Negate an expressionStringgetReadLockString(int timeout)Get the string to append to SELECT statements to acquire READ locks for this dialect.ResultSetgetResultSet(CallableStatement ps)Given a callable statement previously processed byDialect.registerResultSetOutParameter(java.sql.CallableStatement, int), extract theResultSetfrom the OUT parameter.StringgetSelectGUIDString()Get the command used to select a GUID from the underlying database.StringgetTableComment(String comment)Get the comment into a form supported for table definition.StringgetTableTypeString()UniqueDelegategetUniqueDelegate()Get the UniqueDelegate supported by this dialectStringgetWriteLockString(int timeout)Get the string to append to SELECT statements to acquire WRITE locks for this dialect.booleanhasSelfReferentialForeignKeyBug()Does the database/driver have bug in deleting rows that refer to other rows being deleted in the same query?booleanisCurrentTimestampSelectStringCallable()Should the value returned byDialect.getCurrentTimestampSelectString()be treated as callable.booleanisJdbcLogWarningsEnabledByDefault()Does the fetching JDBC statement warning for logging is enabled by defaultcharopenQuote()The character specific to this dialect used to begin a quoted identifier.booleanqualifyIndexName()Do we need to qualify index names with the schema name?intregisterResultSetOutParameter(CallableStatement statement, int col)Registers a parameter (either OUT, or the new REF_CURSOR param type available in Java 8) capable of returningResultSet*by position*.protected voidregisterVarcharTypes()StringrenderOrderByElement(String expression, String collation, String order, NullPrecedence nulls)Renders an ordering fragmentprotected StringsmallIntegerCastTarget()booleansupportsCascadeDelete()Does this dialect support cascaded delete on foreign key definitions?booleansupportsCurrentTimestampSelection()Does this dialect support a way to retrieve the database's current timestamp value?booleansupportsEmptyInList()Does this dialect support empty IN lists?booleansupportsIfExistsBeforeTableName()For dropping a table, can the phrase "if exists" be applied before the table name?booleansupportsLimit()Does this dialect support some form of limiting query results via a SQL clause?booleansupportsLobValueChangePropogation()Does the dialect support propagating changes to LOB values back to the database?booleansupportsLockTimeouts()Informational metadata about whether this dialect is known to support specifying timeouts for requested lock acquisitions.booleansupportsRowValueConstructorSyntax()Is this dialect known to support what ANSI-SQL terms "row value constructor" syntax; sometimes called tuple syntax.booleansupportsSelectAliasInGroupByClause()booleansupportsSubqueryOnMutatingTable()Does this dialect support referencing the table being mutated in a subquery.-
从类继承的方法 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, getForUpdateNowaitString, getForUpdateNowaitString, getForUpdateSkipLockedString, getForUpdateSkipLockedString, getForUpdateString, getForUpdateString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIndexExporter, getInExpressionCountLimit, getKeywords, getLimitString, getLobMergeStrategy, getLockingStrategy, getLowercaseFunction, getMaxAliasLength, getNameQualifierSupport, getNativeIdentifierGeneratorClass, getNativeIdentifierGeneratorStrategy, getNoColumnsInsertString, getNullColumnString, getQueryHintString, getQueryHintString, getQuerySequencesString, getReadLockString, getResultSet, getResultSet, getSchemaNameResolver, getSelectClauseNullString, getSelectSequenceNextValString, getSequenceExporter, getSequenceInformationExtractor, getSequenceNextValString, getSqlTypeDescriptorOverride, getTableExporter, getTypeName, getTypeName, getUniqueKeyExporter, getViolatedConstraintNameExtracter, getWriteLockString, hasAlterTable, inlineLiteral, isLegacyLimitHandlerBehaviorEnabled, isLockTimeoutParameterized, isTypeNameRegistered, prependComment, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, registerResultSetOutParameter, remapSqlTypeDescriptor, replaceResultVariableInOrderByClauseWithPosition, requiresCastingOfParametersInSelectClause, requiresParensForTupleDistinctCounts, supportsBindAsCallableArgument, supportsCaseInsensitiveLike, supportsCircularCascadeDeleteConstraints, supportsColumnCheck, supportsCommentOn, supportsExistsInSelect, supportsExpectedLobUsagePattern, supportsIfExistsAfterAlterTable, supportsIfExistsAfterConstraintName, supportsIfExistsAfterTableName, supportsIfExistsBeforeConstraintName, supportsJdbcConnectionLobCreation, supportsLimitOffset, supportsNamedParameters, supportsNationalizedTypes, supportsNoColumnsInsert, supportsNonQueryWithCTE, supportsNotNullUnique, supportsNoWait, supportsOuterJoinForUpdate, supportsParametersInInsertSelect, supportsPartitionBy, supportsPooledSequences, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsRowValueConstructorSyntaxInInList, supportsSequences, supportsSkipLocked, supportsSubselectAsInPredicateLHS, supportsTableCheck, supportsTupleCounts, supportsTupleDistinctCounts, supportsTuplesInSubqueries, supportsUnboundedLobLocatorMaterialization, supportsUnionAll, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsValuesList, supportsVariableLimit, toBooleanValueString, toString, transformSelectString, useFollowOnLocking, useFollowOnLocking, useInputStreamToInsertBlob, useMaxForLimit
-
-
-
-
字段详细资料
-
ESCAPE_PATTERN_REPLACEMENT
public static final String ESCAPE_PATTERN_REPLACEMENT
-
-
方法详细资料
-
registerVarcharTypes
protected void registerVarcharTypes()
-
getAddColumnString
public String getAddColumnString()
从类复制的说明:DialectThe syntax used to add a column to a table (optional).- 覆盖:
getAddColumnString在类中Dialect- 返回:
- The "add column" fragment.
-
qualifyIndexName
public boolean qualifyIndexName()
从类复制的说明:DialectDo we need to qualify index names with the schema name?- 覆盖:
qualifyIndexName在类中Dialect- 返回:
- boolean
-
getAddForeignKeyConstraintString
public String getAddForeignKeyConstraintString(String constraintName, String[] foreignKey, String referencedTable, String[] primaryKey, boolean referencesPrimaryKey)
从类复制的说明:DialectThe syntax used to add a foreign key constraint to a table.- 覆盖:
getAddForeignKeyConstraintString在类中Dialect- 参数:
constraintName- The FK constraint name.foreignKey- The names of the columns comprising the FKreferencedTable- The table referenced by the FKprimaryKey- The explicit columns in the referencedTable referenced by this FK.referencesPrimaryKey- if false, constraint should be explicit about which column names the constraint refers to- 返回:
- the "add FK" fragment
-
supportsLimit
public boolean supportsLimit()
从类复制的说明:DialectDoes this dialect support some form of limiting query results via a SQL clause?- 覆盖:
supportsLimit在类中Dialect- 返回:
- True if this dialect supports some form of LIMIT.
-
getDropForeignKeyString
public String getDropForeignKeyString()
- 覆盖:
getDropForeignKeyString在类中Dialect
-
getLimitHandler
public LimitHandler getLimitHandler()
从类复制的说明:DialectReturns the delegate managing LIMIT clause.- 覆盖:
getLimitHandler在类中Dialect- 返回:
- LIMIT clause delegate.
-
getLimitString
public String getLimitString(String sql, boolean hasOffset)
从类复制的说明:DialectApply a limit clause to the query. Typically dialects utilizevariablelimit clauses when they support limits. Thus, when building the select command we do not actually need to know the limit or the offset since we will just be using placeholders. Here we do still pass along whether or not an offset was specified so that dialects not supporting offsets can generate proper exceptions. In general, dialects will override one or the other of this method andDialect.getLimitString(String, int, int).- 覆盖:
getLimitString在类中Dialect- 参数:
sql- The query to which to apply the limit.hasOffset- Is the query requesting an offset?- 返回:
- the modified SQL
-
closeQuote
public char closeQuote()
从类复制的说明:DialectThe character specific to this dialect used to close a quoted identifier.- 覆盖:
closeQuote在类中Dialect- 返回:
- The dialect's specific close quote character.
-
openQuote
public char openQuote()
从类复制的说明:DialectThe character specific to this dialect used to begin a quoted identifier.
-
canCreateCatalog
public boolean canCreateCatalog()
从类复制的说明:DialectDoes this dialect support catalog creation?- 覆盖:
canCreateCatalog在类中Dialect- 返回:
- True if the dialect supports catalog creation; false otherwise.
-
getCreateCatalogCommand
public String[] getCreateCatalogCommand(String catalogName)
从类复制的说明:DialectGet the SQL command used to create the named catalog- 覆盖:
getCreateCatalogCommand在类中Dialect- 参数:
catalogName- The name of the catalog to be created.- 返回:
- The creation commands
-
getDropCatalogCommand
public String[] getDropCatalogCommand(String catalogName)
从类复制的说明:DialectGet the SQL command used to drop the named catalog- 覆盖:
getDropCatalogCommand在类中Dialect- 参数:
catalogName- The name of the catalog to be dropped.- 返回:
- The drop commands
-
canCreateSchema
public boolean canCreateSchema()
从类复制的说明:DialectDoes this dialect support schema creation?- 覆盖:
canCreateSchema在类中Dialect- 返回:
- True if the dialect supports schema creation; false otherwise.
-
getCreateSchemaCommand
public String[] getCreateSchemaCommand(String schemaName)
从类复制的说明:DialectGet the SQL command used to create the named schema- 覆盖:
getCreateSchemaCommand在类中Dialect- 参数:
schemaName- The name of the schema to be created.- 返回:
- The creation commands
-
getDropSchemaCommand
public String[] getDropSchemaCommand(String schemaName)
从类复制的说明:DialectGet the SQL command used to drop the named schema- 覆盖:
getDropSchemaCommand在类中Dialect- 参数:
schemaName- The name of the schema to be dropped.- 返回:
- The drop commands
-
supportsIfExistsBeforeTableName
public boolean supportsIfExistsBeforeTableName()
从类复制的说明:DialectFor dropping a table, can the phrase "if exists" be applied before the table name? NOTE : Only one or the other (or neither) of this andDialect.supportsIfExistsAfterTableName()should return true- 覆盖:
supportsIfExistsBeforeTableName在类中Dialect- 返回:
trueif the "if exists" can be applied before the table name
-
getSelectGUIDString
public String getSelectGUIDString()
从类复制的说明:DialectGet the command used to select a GUID from the underlying database. Optional operation.- 覆盖:
getSelectGUIDString在类中Dialect- 返回:
- The appropriate command.
-
getTableComment
public String getTableComment(String comment)
从类复制的说明:DialectGet the comment into a form supported for table definition.- 覆盖:
getTableComment在类中Dialect- 参数:
comment- The comment to apply- 返回:
- The comment fragment
-
getColumnComment
public String getColumnComment(String comment)
从类复制的说明:DialectGet the comment into a form supported for column definition.- 覆盖:
getColumnComment在类中Dialect- 参数:
comment- The comment to apply- 返回:
- The comment fragment
-
getDefaultMultiTableBulkIdStrategy
public MultiTableBulkIdStrategy getDefaultMultiTableBulkIdStrategy()
-
getCastTypeName
public String getCastTypeName(int code)
从类复制的说明:DialectGet the name of the database type appropriate for casting operations (via the CAST() SQL function) for the givenTypestypecode.- 覆盖:
getCastTypeName在类中Dialect- 参数:
code- TheTypestypecode- 返回:
- The database type name
-
smallIntegerCastTarget
protected String smallIntegerCastTarget()
- 返回:
- The proper cast target type.
-
floatingPointNumberCastTarget
protected String floatingPointNumberCastTarget()
Determine the cast target forTypes.FLOATandTypes.REAL(DOUBLE)- 返回:
- The proper cast target type.
-
fixedPointNumberCastTarget
protected String fixedPointNumberCastTarget()
Determine the cast target forTypes.NUMERIC- 返回:
- The proper cast target type.
-
supportsCurrentTimestampSelection
public boolean supportsCurrentTimestampSelection()
从类复制的说明:DialectDoes this dialect support a way to retrieve the database's current timestamp value?- 覆盖:
supportsCurrentTimestampSelection在类中Dialect- 返回:
- True if the current timestamp can be retrieved; false otherwise.
-
isCurrentTimestampSelectStringCallable
public boolean isCurrentTimestampSelectStringCallable()
从类复制的说明:DialectShould the value returned byDialect.getCurrentTimestampSelectString()be treated as callable. Typically this indicates that JDBC escape syntax is being used...- 覆盖:
isCurrentTimestampSelectStringCallable在类中Dialect- 返回:
- True if the
Dialect.getCurrentTimestampSelectString()return is callable; false otherwise.
-
getCurrentTimestampSelectString
public String getCurrentTimestampSelectString()
从类复制的说明:DialectRetrieve the command used to retrieve the current timestamp from the database.- 覆盖:
getCurrentTimestampSelectString在类中Dialect- 返回:
- The command.
-
registerResultSetOutParameter
public int registerResultSetOutParameter(CallableStatement statement, int col) throws SQLException
从类复制的说明:DialectRegisters a parameter (either OUT, or the new REF_CURSOR param type available in Java 8) capable of returningResultSet*by position*. Pre-Java 8, registering such ResultSet-returning parameters varied greatly across database and drivers; hence its inclusion as part of the Dialect contract.- 覆盖:
registerResultSetOutParameter在类中Dialect- 参数:
statement- The callable statement.col- The bind position at which to register the output param.- 返回:
- The number of (contiguous) bind positions used.
- 抛出:
SQLException- Indicates problems registering the param.
-
getResultSet
public ResultSet getResultSet(CallableStatement ps) throws SQLException
从类复制的说明:DialectGiven a callable statement previously processed byDialect.registerResultSetOutParameter(java.sql.CallableStatement, int), extract theResultSetfrom the OUT parameter.- 覆盖:
getResultSet在类中Dialect- 参数:
ps- The callable statement.- 返回:
- The extracted result set.
- 抛出:
SQLException- Indicates problems extracting the result set.
-
getUniqueDelegate
public UniqueDelegate getUniqueDelegate()
从类复制的说明:DialectGet the UniqueDelegate supported by this dialect- 覆盖:
getUniqueDelegate在类中Dialect- 返回:
- The UniqueDelegate
-
supportsRowValueConstructorSyntax
public boolean supportsRowValueConstructorSyntax()
从类复制的说明:DialectIs this dialect known to support what ANSI-SQL terms "row value constructor" syntax; sometimes called tuple syntax. Basically, does it support syntax like "... where (FIRST_NAME, LAST_NAME) = ('Steve', 'Ebersole') ...".- 覆盖:
supportsRowValueConstructorSyntax在类中Dialect- 返回:
- True if this SQL dialect is known to support "row value constructor" syntax; false otherwise.
-
renderOrderByElement
public String renderOrderByElement(String expression, String collation, String order, NullPrecedence nulls)
从类复制的说明:DialectRenders an ordering fragment- 覆盖:
renderOrderByElement在类中Dialect- 参数:
expression- The SQL order expression. In case of@OrderByannotation user receives property placeholder (e.g. attribute name enclosed in '{' and '}' signs).collation- Collation string in formatcollate IDENTIFIER, ornullif expression has not been explicitly specified.order- Order direction. Possible values:asc,desc, ornullif expression has not been explicitly specified.nulls- Nulls precedence. Default value:NullPrecedence.NONE.- 返回:
- Renders single element of
ORDER BYclause.
-
getForUpdateString
public String getForUpdateString()
从类复制的说明:DialectGet the string to append to SELECT statements to acquire locks for this dialect.- 覆盖:
getForUpdateString在类中Dialect- 返回:
- The appropriate FOR UPDATE clause string.
-
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在类中Dialect- 参数:
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在类中Dialect- 参数:
timeout- in milliseconds, -1 for indefinite wait and 0 for no wait.- 返回:
- The appropriate LOCK clause string.
-
supportsEmptyInList
public boolean supportsEmptyInList()
从类复制的说明:DialectDoes this dialect support empty IN lists? For example, is [where XYZ in ()] a supported construct?- 覆盖:
supportsEmptyInList在类中Dialect- 返回:
- True if empty in lists are supported; false otherwise.
-
areStringComparisonsCaseInsensitive
public boolean areStringComparisonsCaseInsensitive()
从类复制的说明:DialectAre string comparisons implicitly case insensitive. In other words, does [where 'XYZ' = 'xyz'] resolve to true?- 覆盖:
areStringComparisonsCaseInsensitive在类中Dialect- 返回:
- True if comparisons are case insensitive.
-
supportsLobValueChangePropogation
public boolean supportsLobValueChangePropogation()
从类复制的说明:DialectDoes the dialect support propagating changes to LOB values back to the database? Talking about mutating the internal value of the locator as opposed to supplying a new locator instance... For BLOBs, the internal value might be changed by:Blob.setBinaryStream(long),Blob.setBytes(long, byte[]),Blob.setBytes(long, byte[], int, int), orBlob.truncate(long). For CLOBs, the internal value might be changed by:Clob.setAsciiStream(long),Clob.setCharacterStream(long),Clob.setString(long, String),Clob.setString(long, String, int, int), orClob.truncate(long). NOTE : I do not know the correct answer currently for databases which (1) are not part of the cruise control process or (2) do notDialect.supportsExpectedLobUsagePattern().- 覆盖:
supportsLobValueChangePropogation在类中Dialect- 返回:
- True if the changes are propagated back to the database; false otherwise.
-
supportsSubqueryOnMutatingTable
public boolean supportsSubqueryOnMutatingTable()
从类复制的说明:DialectDoes this dialect support referencing the table being mutated in a subquery. The "table being mutated" is the table referenced in an UPDATE or a DELETE query. And so can that table then be referenced in a subquery of said UPDATE/DELETE query. For example, would the following two syntaxes be supported:- delete from TABLE_A where ID not in ( select ID from TABLE_A )
- update TABLE_A set NON_ID = 'something' where ID in ( select ID from TABLE_A)
- 覆盖:
supportsSubqueryOnMutatingTable在类中Dialect- 返回:
- True if this dialect allows references the mutating table from a subquery.
-
supportsLockTimeouts
public boolean supportsLockTimeouts()
从类复制的说明:DialectInformational metadata about whether this dialect is known to support specifying timeouts for requested lock acquisitions.- 覆盖:
supportsLockTimeouts在类中Dialect- 返回:
- True is this dialect supports specifying lock timeouts.
-
buildSQLExceptionConversionDelegate
public SQLExceptionConversionDelegate buildSQLExceptionConversionDelegate()
从类复制的说明:DialectBuild an instance of aSQLExceptionConversionDelegatefor interpreting dialect-specific error or SQLState codes. WhenDialect.buildSQLExceptionConverter()returns null, the defaultSQLExceptionConverteris used to interpret SQLState and error codes. If this method is overridden to return a non-null value, the defaultSQLExceptionConverterwill use the returnedSQLExceptionConversionDelegatein addition to the following standard delegates:- a "static" delegate based on the JDBC 4 defined SQLException hierarchy;
- a delegate that interprets SQLState codes for either X/Open or SQL-2003 codes, depending on java.sql.DatabaseMetaData#getSQLStateType
- 覆盖:
buildSQLExceptionConversionDelegate在类中Dialect- 返回:
- The SQLExceptionConversionDelegate for this dialect
-
getNotExpression
public String getNotExpression(String expression)
从类复制的说明:DialectNegate an expression- 覆盖:
getNotExpression在类中Dialect- 参数:
expression- The expression to negate- 返回:
- The negated expression
-
getIdentityColumnSupport
public IdentityColumnSupport getIdentityColumnSupport()
从类复制的说明:DialectGet the appropriateIdentityColumnSupport- 覆盖:
getIdentityColumnSupport在类中Dialect- 返回:
- the IdentityColumnSupport
-
isJdbcLogWarningsEnabledByDefault
public boolean isJdbcLogWarningsEnabledByDefault()
从类复制的说明:DialectDoes the fetching JDBC statement warning for logging is enabled by default- 覆盖:
isJdbcLogWarningsEnabledByDefault在类中Dialect- 返回:
- boolean
-
supportsCascadeDelete
public boolean supportsCascadeDelete()
从类复制的说明:DialectDoes this dialect support cascaded delete on foreign key definitions?- 覆盖:
supportsCascadeDelete在类中Dialect- 返回:
trueindicates that the dialect does support cascaded delete on foreign keys.
-
getTableTypeString
public String getTableTypeString()
- 覆盖:
getTableTypeString在类中Dialect
-
getEngineKeyword
protected String getEngineKeyword()
-
hasSelfReferentialForeignKeyBug
public boolean hasSelfReferentialForeignKeyBug()
从类复制的说明:DialectDoes the database/driver have bug in deleting rows that refer to other rows being deleted in the same query?- 覆盖:
hasSelfReferentialForeignKeyBug在类中Dialect- 返回:
trueif the database/driver has this bug
-
dropConstraints
public boolean dropConstraints()
从类复制的说明:DialectDo we need to drop constraints before dropping tables in this dialect?- 覆盖:
dropConstraints在类中Dialect- 返回:
- True if constraints must be dropped prior to dropping the table; false otherwise.
-
getDefaultMySQLStorageEngine
protected MySQLStorageEngine getDefaultMySQLStorageEngine()
-
escapeLiteral
protected String escapeLiteral(String literal)
从类复制的说明:DialectEscape String literal.- 覆盖:
escapeLiteral在类中Dialect- 返回:
- escaped String
-
supportsSelectAliasInGroupByClause
public boolean supportsSelectAliasInGroupByClause()
-
-