public String ClobToString(Clob clob) throws SQLException, IOException {
Reader is = clob.getCharacterStream();
BufferedReader br = new BufferedReader(is);
String s = br.readLine();
StringBuffer sb = new StringBuffer();
while (s != null) {
sb.append(s);
s = br.readLine();
}
String reString = sb.toString();
return reString;
}