-->
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.  [ 3 posts ] 
Author Message
 Post subject: is it possible to create hbm file directly using ddl command
PostPosted: Tue Aug 07, 2007 2:20 am 
Newbie

Joined: Fri Jun 29, 2007 9:03 am
Posts: 12
Hi

I want to create hbm file directly from the ddl ,like

Code:
create table employee(

name varchar(30),
age    int
)


Is there any way to generate hbm directly ?

like for generating ddl from hbm we can use
SchemaExport..
Similarly i want to do it in other way ..
is it possible


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 07, 2007 2:31 am 
Newbie

Joined: Wed Aug 01, 2007 4:53 pm
Posts: 11
i thought eclipse had a plugin that generates the hbm files from your schema but i'm not sure about that...

Look at the hibernate tools, that are a set of tools specially for eclipse. They can really help you i guess


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 07, 2007 2:59 am 
Newbie

Joined: Mon Jul 31, 2006 2:15 am
Posts: 4
you can use the MyEclipse-Persistance-Tools to generate hbm-files (http://www.myeclipseide.com/htmlpages-func-display-pid-18.html )


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