• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ORA-01406: fetched column value was truncated

 
Manoj Kumkumath
Ranch Hand
Posts: 71
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to fetch all rows in a table(total 105 rows) from Oracle 10g Database. When I am using a Type 4 driver, everything works fine. But when I am using a Type 2driver, I am getting the following exception.


Please let me know if anyone of you know the cause and solution for this.
 
Manoj Kumkumath
Ranch Hand
Posts: 71
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I could find a fix to solve this problem by just adding a space at the end of sql query.

But still wondering what was the cause?
[ January 31, 2006: Message edited by: Manoj Kumkumath ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic