-->
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: how do I generate the ddl when I'm using only annotations?
PostPosted: Thu Sep 25, 2008 4:22 pm 
Newbie

Joined: Wed Feb 23, 2005 9:57 pm
Posts: 16
Hibernate version: 3.2.6.ga

Mapping documents: none

Name and version of the database you are using: postgres

I'm using annotations only, no hbm.xml files; I can't figure out how to generate the database's ddl. I need it for some documentation. (I'm also using maven to build.)

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 25, 2008 8:24 pm 
Expert
Expert

Joined: Mon Nov 26, 2007 2:29 pm
Posts: 443
This post

http://hibernar.org/foro/viewtopic.php?f=4&t=12

explains how to generate DDL, both for xml and annotation mappings.

_________________
Gonzalo Díaz


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.