Hi there, I would like to convert a String variable to the java.sql.Clob datatype: My code looks like this: String streamHTML = (out.toString()); Clob outHTML = (Clob)streamHTML; And of course, this code doesn't work. Hope you can help me. Thanks a lot. qionghua