The SQL String generated by String UniqueKey.sqlDropString(Dialect dialect, String defaultCatalog, String defaultSchema) doesn'z work with MySQL 5.6.23.
The dialect provided to the Method is an instance of MySQL5Dialect The method generated to following string: alter table TestTable drop constraint UK_slmf1cg4801c1oaa7xafyp3cf but it should be alter table TestTable drop index UK_slmf1cg4801c1oaa7xafyp3cf
This is because the DefaultUniqueDelegate is used instead of a MySQL specific implementation.
|