I am using Hibernate 3.2.1.
I am trying to run the hbm2ddl task with update=true, export=false, and outputfilename=update.sql. I want Hibernate to generate a DDL file with diffs of the current hibernate database versus our production db. This file would then be manually reviewed and applied to production.
If I run with these parameters, the correct SQL is outputted to the screen, but not to the file. If I set export to true the update sql is executed, and if I set set update to false, the full create DLL is generated to the file, but the particular combination of commands I need isn't working.
|