-->
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: DDL file
PostPosted: Fri May 25, 2007 10:28 am 
Newbie

Joined: Thu Apr 19, 2007 5:10 am
Posts: 5
Hello,

Is it possible to generate ddl file with hbm2ddl to crate database later?


Top
 Profile  
 
 Post subject: Generating DDL with hibernate
PostPosted: Fri May 25, 2007 10:39 am 
Newbie

Joined: Mon Dec 11, 2006 12:54 am
Posts: 14
Yes its possible to generate tables from hibernate artifacts. But you need to be careful while creating the mapping files so that it has all the proper relations and thus the table has all the referential constraints.

You can use following tools to auto generate tables using hibernate :
-hbm2ddl
-schemaExport


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.