[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-1083) Customization of CREATE TABLE with storage clause etc.

Steve Ebersole (JIRA) noreply at atlassian.com
Wed Aug 17 13:18:06 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole updated HHH-1083:
--------------------------------

    Fix Version/s:     (was: 4.0.0.CR1)
                   metamodel

> Customization of CREATE TABLE with storage clause etc.
> ------------------------------------------------------
>
>                 Key: HHH-1083
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1083
>             Project: Hibernate Core
>          Issue Type: New Feature
>          Components: core
>            Reporter: Christian Bauer
>            Assignee: Steve Ebersole
>            Priority: Minor
>             Fix For: metamodel
>
>
> 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()

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list