correct impl of MySQL.supportsColumnCheck()
This commit is contained in:
parent
baffbc0aae
commit
413b9ba03e
|
@ -751,7 +751,7 @@ public class MySQLDialect extends Dialect {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsColumnCheck() {
|
public boolean supportsColumnCheck() {
|
||||||
return false;
|
return getMySQLVersion().isSameOrAfter( 8, 0, 16 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -771,6 +771,12 @@ public class MySQLDialect extends Dialect {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getEnumCheckCondition(String columnName, int sqlType, Class<? extends Enum<?>> enumClass) {
|
||||||
|
// don't need it, since we're using the 'enum' type
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getQueryHintString(String query, String hints) {
|
public String getQueryHintString(String query, String hints) {
|
||||||
return IndexQueryHintHandler.INSTANCE.addQueryHints( query, hints );
|
return IndexQueryHintHandler.INSTANCE.addQueryHints( query, hints );
|
||||||
|
|
Loading…
Reference in New Issue