wood burning stoves 2.0*
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).
 
 
subject: How to insert CLOB object into DB?
 
Similar Threads
Java program to Convert java.lang.String to java.sql.CLOB Object
Converting a String to Clob for insert into DB
use of CLOB,help me.
Accessing Clob in CMP EJB
help: lock problem during Clob update