oracle.sql.CLOB clobTmp = (oracle.sql.CLOB)ors.getClob(1);
//String description=clobTmp.getSubString((long)1,(int)clobTmp.length()); java.io.Reader is = clobTmp.getCharacterStream();
BufferedReader bread = new BufferedReader(is); String s = bread.readLine();
System.out.println("now s is :"+s.toString());
while (s!=null){
System.out.println("in while");
content+= s ;
content+= "<br>" ;
s= bread.readLine();
}
System.out.println("content is :"+content.toString());
}catch(Throwable e){
}
//String description=clobTmp.getSubString((long)1,(int)clobTmp.length()); java.io.Reader is = clobTmp.getCharacterStream();
BufferedReader bread = new BufferedReader(is); String s = bread.readLine();
System.out.println("now s is :"+s.toString());
while (s!=null){
System.out.println("in while");
content+= s ;
content+= "<br>" ;
s= bread.readLine();
}
System.out.println("content is :"+content.toString());
}catch(Throwable e){
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货