File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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
  • 0
  • 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
  • 0
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic