[hibernate-issues] [Hibernate-JIRA] Assigned: (HHH-1186) Write generated sql to a file for SchemaUpdate.
Anthony Patricio (JIRA)
noreply at atlassian.com
Fri May 30 09:30:41 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Patricio reassigned HHH-1186:
-------------------------------------
Assignee: Anthony Patricio
> Write generated sql to a file for SchemaUpdate.
> -----------------------------------------------
>
> Key: HHH-1186
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1186
> Project: Hibernate3
> Issue Type: Improvement
> Components: metamodel
> Affects Versions: 3.1 rc3
> Environment: hibernate 3.1rc3
> mysql
> Reporter: Sjoerd Takken
> Assignee: Anthony Patricio
> Priority: Minor
> Attachments: SchemaUpdate.java, SchemaUpdate.patch, schemaUpdate.patch
>
>
> I would like to export the output from SchemaUpdate to a file. This is implemented for SchemaExport but it is not implemented for SchemaUpdate.
> The reason is that I don't want to execute the output from SchemaUpdate directly. Because I want to change it. For example
> I want to add drop statements for some tables.
> I want to change the generate alter table add column statements to alter table change column in some cases, because the name is changed and I don't want to drop the data of my column.
> Could you add this improvement to Hibernate.
> Can you also change the ant HibernateTool hbm2ddl
> You can set an outputfilename for the case update=false and it runs SchemaExport.
> But if it runs SchemaUpdate ( update=true ), then outputfilename is not used.
> I would like to use this property for the improvement.
--
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
More information about the hibernate-issues
mailing list