[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1496?page=c...
]
Juraci Paixão Kröhling commented on HHH-1496:
---------------------------------------------
IIRC, Steve is not a big fan of adding new MySQL dialects just because of a few different
chars in the "create table" statement.
So, the solution for now is to extend a MySQL dialect, like MySQL5Dialect and override the
method getTableTypeString(). Take a look at the attached diff for an idea on how to do
this :-)
A new dialect is required for MySQL NDB clustered table types
-------------------------------------------------------------
Key: HHH-1496
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1496
Project: Hibernate Core
Issue Type: Improvement
Components: core
Affects Versions: 3.1.2
Reporter: Darran Lofthouse
Assignee: Juraci Paixão Kröhling
Fix For: 3.5.x
Attachments: HHH-1496.diff
A new dialect is required for MySQL NDB clustered table types
http://dev.mysql.com/doc/refman/5.0/en/create-table.html
Either ENGINE=NDB or ENGINE=NDBCLUSTER
Also FYI ENGINE is the prefered way of specifying the type over TYPE so
MySQLMyISAMDialect and MySQLInnoDBDialect could also be updated to use ENGINE
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira