-->
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: generate hbm from ddl script file
PostPosted: Sat Sep 23, 2006 3:35 am 
Newbie

Joined: Mon Jun 12, 2006 7:25 pm
Posts: 7
Hi,

Is there a tool that generate the hibernate hbm files and java files from DDL script file?

I read about the reverse engineering, but it seems like you can do it only by connecting to the DB. I already have the DDL script file and I don't want to modify the DB before I write and test the code.

Thanks,
Ali


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 23, 2006 9:57 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
so writing the mapping files is not part of writing code ? :)

If you have some way of parsing your script DDL file then I have the api you can implement to make it happen (MetaDataDialect).

Otherwise then you will have to apply it to a db before the reverse engineering can use it.

Alternatively you can use reveng.xml to specify the schema for it to read.

_________________
Max
Don't forget to rate


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.