protected String convertClob(Clob clob) throws SQLException {
  int len=(int)clob.length();
  return (len > 0) ? clob.getSubString(1,len) : "";
}

protected String convertClob ( Clob clob ) throws SQLException { int len = ( int ) clob . length ( ) ; return ( len > 0 ) ? clob . getSubString ( 1 , len ) : "" ; }
converts a clob to a string . this method was mostly obtained from databaseconfiguration .
