-->
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: Dynamic changes field length problem
PostPosted: Thu Jul 27, 2006 2:02 am 
Newbie

Joined: Wed Jul 26, 2006 9:04 am
Posts: 6
Location: India
Hi

I intially created class ‘Emp’ withString type attribute(address) with length 20;

Using Velocity i cretaed tables in MSSQL DB;

After that i inserted 20 char string for address field.

Then i changed to address field length 20 to 15;Then again i updated tables using Velocity.

But my MSSQL DB Emp table address field pointing varchar 20,which i was intially created.

But i want to DB adress field length as 15 only.Also i dont want lose my existing data;

Please help me if any body knows.

Iam waiting for your reply…............


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.