-->
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.  [ 4 posts ] 
Author Message
 Post subject: Code Generation from DB Script?
PostPosted: Thu May 22, 2008 3:59 pm 
Newbie

Joined: Thu May 22, 2008 3:41 pm
Posts: 3
Hi,

Would it be possible to generate code without a DB to connect to - just the DB script?

-Sean


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 23, 2008 4:40 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
yes just dont ask it to export to a database

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 23, 2008 7:38 pm 
Newbie

Joined: Thu May 22, 2008 3:41 pm
Posts: 3
I'm not sure if I follow what you mean. I am currently following the instructions given here:
http://www.hibernate.org/hib_docs/tools/reference/en/html/plugins.html

Do I skip creating a Hibernate Configuration File and create a Console Configuration? I'm not sure where to specify the location of my .sql script.

Seems like the only way to reverse engineer tables is to do it while connected to a database. I would like to reverse engineer tables directly from the script if possible. I appreciate your help!

-Sean


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 26, 2008 1:11 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
if someone contributes a "parse different dialects of DML scripts"-MetaDataDialect then yes.

But until then no.

_________________
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.  [ 4 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.