varchar2只支持4000个,clob转string

笔记2015:

 varchar2只支持4000个,clob就转string
  public static String oracleClob2Str(Clob clob) throws Exception { 

        return (clob != null ? clob.getSubString(1, (int) clob.length()) : null); 

 

    } 

 

你可能感兴趣的:(varchar2只支持4000个,clob转string)