-->
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: newbi question
PostPosted: Wed Nov 23, 2005 2:16 am 
Newbie

Joined: Wed Nov 23, 2005 2:09 am
Posts: 2
Hi, if i've created a system of objects and have mapped them to underneath database using hibernate, and afterwards i want to change the system design, what will happen to the old tables in the database? and if i want to migrate data from old database to the new orm, how do you suppose to do that?

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 23, 2005 3:00 am 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
unless you are generating you database schema in unison w/ your object model, the data model and object model will be out of sync after you make these changes. you may want to check out the hbm2ddl feature in the documentation on how you can aviod this problem.


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.