File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Converting String to Clob Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Converting String to Clob" Watch "Converting String to Clob" New topic

Converting String to Clob

Nazmul Bhuiyan

Joined: May 23, 2002
Posts: 17
I�m getting a clob object from the database and converting to string by getSubString(pos, length) and displaying string in the screen.

But need to convert the string to clob to store back to database.

I've looked in the API but couldn't figure this out by self.


Vijayender Bandaru

Joined: Nov 21, 2006
Posts: 21
see if this helps
I agree. Here's the link:
subject: Converting String to Clob
It's not a secret anymore!