-->
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: Features of SchemaUpdate
PostPosted: Thu May 25, 2006 1:46 am 
Newbie

Joined: Wed May 24, 2006 5:33 am
Posts: 3
Location: Chennai
Hi

I am in need of the following features in SchemaUpdate tool.

1. When a field is dropped from a class, corrresponding column needs to be dropped from the table. (I dont need the previous data either)
2. When a data type of a field in the class is changed I want the datatype of the corresponding column to be changed and the previous data to be transformed to the new datatype.
3. When a field is renamed, rename the corresponding column.

Please let me know if anything is already slated for a future release(I am using 3.1). If not I would like to contribute. Also, please let me know if any of the above violates any O-R mapping "concepts".

Thanks in Advance.
pras.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 25, 2006 6:19 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
#1: not everyone things data should be removed
#2 & #3 ...don't know how you would detect this without having the old mapping model loaded to compare with the new one...

but in general nothing of this is planned because it requires *alot* of validation and need to be optional, but contributions are welcome.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 05, 2006 4:29 am 
Newbie

Joined: Wed May 24, 2006 5:33 am
Posts: 3
Location: Chennai
You are right that my requirement is a specific one. We are using hibernate dynamic classes in a RAD kind to tool.In the application development environment I do not need the previous data and also the previous version of the schema is available for me. Thanks for the reply.


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.