I have used the following code in java service to write input stream to CLOB. (Later a stored procedure is to be used for inserting this CLOB into DB)
CLOB clob = null;
Writer out = clob.getCharacterOutputStream();
As the above code was not compiled ,I tried with Writer out = clob.getAsciiOutputStream(); and got the same result.
Anyone has suggestion to write stream to CLOB?