import java.sql.Clob; private String clobToStringConversion(Clob clb) throws IOException, SQLException { if (clb == null) { return null; } StringBuffer str = new StringBuffer(); String data = null; BufferedReader bufferRead = new BufferedReader(clb.getCharacterStream()); while ((data = bufferRead.readLine()) != null) { str.append(data); } return str.toString(); }