-->
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.  [ 1 post ] 
Author Message
 Post subject: schemaExport/schema Update ant tasks - always purge data?
PostPosted: Tue Nov 09, 2004 11:31 am 
Newbie

Joined: Fri Nov 05, 2004 1:06 pm
Posts: 9
Do schemaExport and/or schemaUpdate allow you to maintian your database data if they are being used after a field has been added to you class (that necessitates a new column in the table)? I have tried and my table keeps getting dropped.

For example, if I have a lot of data in a table, is it possible to use either of these tasks to Alter the table to add in the new column, or will they always be dropped and recreated?

Thanks, and thanks to those who have answered my previous questions, just getting to grips with it all at the moment.

David


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.