How to convert String into Clob in Java?
807569May 31 2006 — edited May 31 2006Hi all,
from a form i have a
String body = request.getParameter("body_name");
i want to insert the string body to a clob field in oracle.
string is from a textarea where the user enter html contents and i want to storeit as a clob in the database.
can anybody help ?
I have done with setCharaceteStream(), but it will take only 4000 characters. which suppose to take upto 4GB limit.
So I want to set it as stmt.setClob(" some form by using String")
Pls. help me if you can?
thanks in advance
Srikanth