File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes How to insert CLOB object into DB? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to insert CLOB object into DB?" Watch "How to insert CLOB object into DB?" New topic
Author

How to insert CLOB object into DB?

Gurumurthy Ramamurthy
Ranch Hand

Joined: Feb 13, 2003
Posts: 272
Guys,

I have a huge string which I want to insert into DB as CLOB object using setClob.

I am struggling to creating a java.sql.Clob object with this huge string.

Can anyone help me?

Guru
Joe Nguyen
Ranch Hand

Joined: Apr 20, 2001
Posts: 161
This oracle document would help you to get the job done (You may need to create userid/pwd to access the page).
 
jQuery in Action, 2nd edition
 
subject: How to insert CLOB object into DB?
 
Similar Threads
Accessing Clob in CMP EJB
use of CLOB,help me.
help: lock problem during Clob update
Java program to Convert java.lang.String to java.sql.CLOB Object
Converting a String to Clob for insert into DB