Hello, with these two properties:
registryBuilder.applySetting("hibernate.dialect", "org.hibernate.dialect.MySQL5Dialect");
registryBuilder.applySetting("hibernate.dialect.storage_engine", "innodb");
the generated schema is MyISAM:
drop table if exists ProductEntity;
create table ProductEntity (
id bigint not null,
primary key (id)
) engine=MyISAM;
When I change the dialect to the deprecated MySQL57InnoDBDialect then it works fine. I will provide a test-case soon. |