-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Problem with hbm2dll
PostPosted: Thu Feb 18, 2010 12:44 pm 
Newbie

Joined: Fri Jan 23, 2004 10:52 am
Posts: 3
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.