This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pls give me solution to solve "String literal too long" problem:

 
rose deng
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
When I use jdbc to do update to a table in oracle database(the type of updated field is Clob), i got following error: String literal is too long.
Could anyone throw a light on how to solve this problem.
Thanks Soo much.
 
Tanel Alumae
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Usually this happens when one tries to put the field value directly into the SQL statement. Are you using parameters?
E.g.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic