Customization of CREATE TABLE with storage clause etc.
Description
Currently Hibernate features a hotfix for the MySQLInnoDBDialect:
public String getTableTypeString() { return " type=InnoDB"; }
However, this is not the only appendix that is useful for CREATE TABLE. We should do several things:
allow appendix for CREATE INDEX, for example, to define the tablespace
pass in additional arguments to getTableTypeString(), such as tableName, schemaName, catalogName - for example, to allow custom Dialects to return different tablespaces for particular tables
probably rename the getTableTypeString() method to getTableAppendixString() and getIndexAppendixString()
Currently Hibernate features a hotfix for the MySQLInnoDBDialect:
public String getTableTypeString() {
return " type=InnoDB";
}
However, this is not the only appendix that is useful for CREATE TABLE. We should do several things:
allow appendix for CREATE INDEX, for example, to define the tablespace
pass in additional arguments to getTableTypeString(), such as tableName, schemaName, catalogName - for example, to allow custom Dialects to return different tablespaces for particular tables
probably rename the getTableTypeString() method to getTableAppendixString() and getIndexAppendixString()