]
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: