-->
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: hbm2ddl to sql script
PostPosted: Sat Dec 02, 2006 9:12 pm 
Beginner
Beginner

Joined: Tue Nov 22, 2005 5:33 am
Posts: 31
How can I see the sql hibernate uses to generate a database? I would like it to create a file with an sql script, is that possible?

_________________
Emil
Don't forget to rate, I'm desperate!


Top
 Profile  
 
 Post subject: hbm2ddl to sql script
PostPosted: Sat Dec 02, 2006 9:59 pm 
Beginner
Beginner

Joined: Thu Apr 27, 2006 12:19 pm
Posts: 33
Location: Seattle, WA
I think this is what you asking...

See section 20.1.4 of the Hibernate reference. Set the output attribute of the schemaexport ant task.


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.