@Deprecated public class MySQLDialect extends net.sf.hibernate.dialect.MySQLDialect
This fixes the problem of multiple indexes and FK contraints being created for tables when they already exist (CONF-1204)
Constructor and Description |
---|
MySQLDialect()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddForeignKeyConstraintString(String constraintName,
String[] foreignKey,
String referencedTable,
String[] primaryKey)
Deprecated.
note: previously, this string also included an 'add index' component (which meant that for MySQL users get an index added for each of their FK's).
|
buildSQLExceptionConverter, closeQuote, dropConstraints, getAddColumnString, getDropForeignKeyString, getIdentityColumnString, getIdentitySelectString, getLimitString, getSchemaSeparator, openQuote, qualifyIndexName, supportsIdentityColumns, supportsIfExistsBeforeTableName, supportsLimit
appendIdentitySelectToInsert, bindLimitParametersFirst, bindLimitParametersInReverseOrder, createCaseFragment, createOuterJoinFragment, getAddPrimaryKeyConstraintString, getCascadeConstraintsString, getCreateSequenceString, getDefaultProperties, getDialect, getDialect, getDropSequenceString, getFunctions, getIdentityInsertString, getLimitString, getLowercaseFunction, getNoColumnsInsertString, getNullColumnString, getQuerySequencesString, getSequenceNextValString, getTypeName, getTypeName, getViolatedConstraintNameExtracter, hasAlterTable, hasDataTypeInIdentityColumn, registerColumnType, registerColumnType, registerFunction, supportsCheck, supportsForUpdate, supportsForUpdateNowait, supportsForUpdateOf, supportsIfExistsAfterTableName, supportsLimitOffset, supportsSequences, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsVariableLimit, toString, useMaxForLimit
public String getAddForeignKeyConstraintString(String constraintName, String[] foreignKey, String referencedTable, String[] primaryKey)
getAddForeignKeyConstraintString
in class net.sf.hibernate.dialect.MySQLDialect
Copyright © 2003–2017 Atlassian. All rights reserved.