[hibernate-dev] Refactor MySQL Dialects

Vlad Mihalcea mihalcea.vlad at gmail.com
Wed Feb 8 02:00:20 EST 2017


Hi,

While working on MariaDB Dialects, I realize that we should also refactor
the MySQL ones.
The problem is that we introduced the InnoDB hierarchy.

Since the only difference between those two is related to 3 methods, I
think we should hide them behind a MySQLStorageEngine hierarchy with InnoDB
being the default one.
This way, we'll have a single MySQL Dialect hierarchy, and users can switch
to MyISAM via a configuration property which define what MySQLStorageEngine
implementation we are using.

Let me know what you think.

Vlad


More information about the hibernate-dev mailing list