code: private static String clobToString(Clob clob) {
          Reader r = null;
          StringWriter sw = null;
          try {
              r = clob.getCharacterStream();
              sw = new StringWriter();
              copyStream(r, sw);
              return sw.toString();
          } catch (Exception e) {
              throw new ConversionException(e);
          } finally {
              closeQuietly(sw);
              closeQuietly(r);
          }
      }
docs: /*
  Converts clob to string