ITeye博客

varchar2只支持4000个,clob转string

chenlin10058 · 2015-01-09 15:30 · 数据库 · Markdown

笔记2015:

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

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

 

    }

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。