Uploaded image for project: 'Hibernate ORM'
  1. HHH-1083

Customization of CREATE TABLE with storage clause etc.

    Details

    • Last commented by a user?:
      true
    • Sprint:

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

        Attachments

          Issue links

            Activity

              People

              • Votes:
                5 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: