-->
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: What is the correct way to update schema with new release?
PostPosted: Thu Nov 24, 2005 9:25 am 
Newbie

Joined: Thu Nov 24, 2005 8:48 am
Posts: 10
What is the correct pattern to update schema with new application release?

If I release first application release, it is ok to generate the schema using schema export. But what if I in the next application release:
- add new fields and tables
- remove some fields or tables and move the contained data elsewhere
- rename some fields

What is the suggested way to solve these changes without data loss? I would like to solve it on the DB backend independent layer so I wouldn't have to care about different SQL dialects. Could someone, please, introduce me to the solutions or direct me to a resource where I could learn it?

Thank you.


Top
 Profile  
 
 Post subject: Solution
PostPosted: Thu Nov 24, 2005 11:07 am 
Newbie

Joined: Thu Nov 24, 2005 8:48 am
Posts: 10
I have found interesting thread on this topic here:
http://forum.hibernate.org/viewtopic.php?t=931183


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.