I need to write an XML file content into oracle database where the column is of CLOB datatype. How will I do that?
Converting clob to string:
Clob clob=rs.getClob(2); String str=(String)clob.getSubString(1,(int)clob.length()); System.out.println("Clob Data is : "+str);