From: Christian B. (JIRA) <no...@at...> - 2006-05-29 13:41:22
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-668?page=all ] Christian Bauer closed HBX-668: ------------------------------- Resolution: Won't Fix 1. There are several other issues open already, for improvements to hbm2ddl generation. This is a duplicate. 2. We will never ever add all these options to hbm2ddl. A) It's impossible to cover all possible optimizations and customization of a generated schema. If we add your wishes, the next guy will have others. B) Especially performance optimization is the job of a DBA, who takes the generated schema (file) and manipulates it by hand for deployment in staging and production. Performance optimization settings are _not_ required in a regular development process, for automatically generated schemas. Hibernate supports the most common and simple optimization, with indexes, but that's it. > Additional configuration for hbm2ddl script generation > ------------------------------------------------------ > > Key: HBX-668 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-668 > Project: Hibernate Tools > Type: Improvement > Versions: 3.1.beta5 > Reporter: David Leal > > > Just to suggest some additional configuraiton for hbm2ddl script generation, for example: > - Adding possibility to configure if the primary key can be defined using alter table instead on the create sentence. > - The same for unique index. > - Adding possibility for configuring information not provided by the *.hbm files, for example tablespace information. For example on the configuration file, could be defined the tablespace information for each table/index, primary key, etc. > The alter table aproach is better for production database in order to add tablespace information, such configuration can't be set on the create table sentence. > Thanks in advance, > David -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |