-->
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.  [ 6 posts ] 
Author Message
 Post subject: Is there a class2ddl or java2ddl
PostPosted: Wed Jan 05, 2005 2:39 pm 
Newbie

Joined: Wed Jan 05, 2005 2:28 pm
Posts: 14
Location: Germany, Munich
I've checked out the cvs repositories for hibernate-3.0 and HibernateExt but can't find a tool for exporting DDL files (something like class2ddl or java2ddl) from annotated classes. Does such a tool yet exists?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 05, 2005 9:30 pm 
Contributor
Contributor

Joined: Thu Nov 06, 2003 9:49 pm
Posts: 104
Location: New York, NY
try schemaexport in combination with some of the other tools


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 06, 2005 1:31 pm 
Newbie

Joined: Wed Jan 05, 2005 2:28 pm
Posts: 14
Location: Germany, Munich
joshua wrote:
try schemaexport in combination with some of the other tools


Which schemaexport? Do you talk about org.hibernate.tool.hbm2ddl.SchemaExport ? That one only takes hbm files. Which other tools?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 06, 2005 1:32 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
You can genereate the hbm files using other tools, see http://www.hibernate.org/102.html


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 06, 2005 2:17 pm 
Newbie

Joined: Wed Jan 05, 2005 2:28 pm
Posts: 14
Location: Germany, Munich
michael wrote:
You can genereate the hbm files using other tools, see http://www.hibernate.org/102.html


Yes, I know. But I don't want to generate hbm files. I have an annotated class (EJB-3 Annotation-Tags) - and I want this exported to DDL.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 06, 2005 2:20 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
There is currently no SchemaExport adapter for annotated classes, but this should not be too difficult to add. Either write a patch which should be relatively simple, or wait for it :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 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.