-->
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: updating your application easy using hibernate?
PostPosted: Tue Jan 06, 2004 9:40 am 
Newbie

Joined: Tue Jan 06, 2004 5:52 am
Posts: 17
Location: Belgium
Hi,

I was wondering if there is an easy way using hibernate to migrate from one version of my application to another version?

Suppose I develop an application (using hibernate) putting everything under CVS ofcourse. If I then develop a new version of the application, and the hibernate-mappings (and thus the database) changes, can I get an updater I can run at the client so his database gets updated to the latest version? This tool would probably then need the old and the new hibernate mappings or maybe only the new and a connection to the database?

kind regards,

Wim


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 06, 2004 10:20 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Try using the SchemaUpdate tool


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 06, 2004 11:13 am 
Newbie

Joined: Tue Jan 06, 2004 5:52 am
Posts: 17
Location: Belgium
Can it do just that? I was just wondering. I'm new to hibernate and I was hoping someone could give me a definite yes or no on this.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 06, 2004 11:46 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
SchemaUpdate is the way to look. It clearly does not support every single available update. So there is no definitive answer other than try it in your case.

_________________
Emmanuel


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.