-->
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.  [ 2 posts ] 
Author Message
 Post subject: Using hbm2ddl.update to create update script
PostPosted: Tue Mar 11, 2008 2:17 pm 
Newbie

Joined: Sun Dec 09, 2007 6:49 pm
Posts: 3
Hibernate version: 3.2.5.ga

Mapping documents: persistence.xml

Name and version of the database you are using: MYSQL 5.0.45-community Server

Hi,
In continuation to my previous question about creating update script, I found that I can possibly use hbm2ddl.update with redirecting output to file.
Is this correct? How do I use this?

Thanks in advance


Top
 Profile  
 
 Post subject: hibernatetool with update doesn't dump to file
PostPosted: Wed Mar 12, 2008 4:05 am 
Newbie

Joined: Sun Dec 09, 2007 6:49 pm
Posts: 3
Hello,
So, I managed to work with ant task with jpa-based configuration, and use hbm2ddl task with update mode. This is cool stuff!!!

But, I noticed that as opposed to create mode, update mode does not dump statements to file - it seems like a bug in this version.

Is it a known bug? Can you please advise on this issue?

Thanks,
rdrbnhd


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

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.