-->
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 hibernate capable to generates a db from an xml file?
PostPosted: Thu Jun 17, 2004 4:25 pm 
Newbie

Joined: Thu Jun 17, 2004 4:16 pm
Posts: 18
hi all!
I am trying to find an api which can construct a database schema during the running of an application. In general, the user will define the structure of the new database (completely from the scratch). When the user click a button the code will generate the database. Do you know if hibernate is capable to do this task?

I visited the torque, apache project, but I realized that the database schema is created by the ant make tool. I dont want to use an external program to create the db just only something like that....

Code:
dbSchema.create()


So I just want an open source api which can create a database with a particular schema that is given from a xml file.

thank you in advance, kostas


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 21, 2004 1:51 pm 
Newbie

Joined: Thu Dec 11, 2003 11:20 pm
Posts: 5
I want to get yours too.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 21, 2004 10:54 pm 
Beginner
Beginner

Joined: Mon Jun 21, 2004 7:59 pm
Posts: 21
Have you tried loading the Ant task class as a library and calling its methods programatically? The Ant front end is just a driver, if Ant can use the Hibernate export Ant Task, so should you.

-Jim


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.