We're updating the issue view to help you get more done. 

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()

Environment

None

Status

Assignee

Steve Ebersole

Reporter

Christian Bauer

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Minor