Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is the limitation of getString(column name)?

 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am reading data from excel sheet using jdbc. One string column has a value with 300 characters long. I am using the following statement

This works fine for all other values. But when I read the value with 300 characters long. It will read only 250 charactes. The remaining characters are truncated.
Any idea or pointer to resolve this problem ?

bye for now
sat
 
Scott Selikoff
author
Saloon Keeper
Posts: 4033
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Might be a driver limitation of some kind, but in general, there's no such limit in most JDBC drivers (at least not lower than 2000 characters). It's probably drawing the line at ~256 because of character encoding.

What driver are you using? It might be best to consult the makers of the driver on the limit.
 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This is my connection statement



bye for now
sat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic