Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to insert a clob data

843854Jan 21 2003 — edited Sep 6 2005
Friends, before I posted it I had searched the entire JDBC forum for the answer in how to insert a clob data,but everywhere I got vague answer.

I have a string of 9000 lenght and hence I couldnot use setString method of PreparedStatement class.And I dont know how convert the string to clob type and use the setClob method of PreparedStatement.

Please give me a sample code.

Thanks
MS

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 4 2005
Added on Jan 21 2003
18 comments
1,705 views