Java中Clob类型转String

 public static String oracleClob2Str(Clob clob) throws Exception { 
        return (clob != null ? clob.getSubString(1, (int) clob.length()) : null); 
 }

posted @ 2012-12-12 11:34  Caliven  阅读(254)  评论(0)    收藏  举报