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: Trailing spaces padding for SQL Server 2000
PostPosted: Tue Jun 06, 2006 4:51 am 
Newbie

Joined: Tue Jun 06, 2006 4:06 am
Posts: 2
I am a newbie to Hibernate and i am trying to migrate an existing application.

I am (still) using SQL Server 200 for RDBMS.

The problem i had and i want to share is that when i inserted or updated a record to the database all of the columns that were of type VARCHAR were padded with trailing spaces till the column was full (riched its length).

I was using the JDBC/ODBC driver.

That seeemed to be the problem.

I replaced the driver with the jTDS driver (http://jtds.sourceforge.net) and the problem was solved.

I think it's worth posting it.

_________________
Xarisd.


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.