最简单的读取CLOB字段的代码

java.sql.Clob clob = rs.getClob(attri.getFieldName());
                        if (clob != null) {
                            String value = clob.getSubString((long) 1, (int) clob.length());
                        }
posted on 2005-07-12 16:15  轻松逍遥子  阅读(541)  评论(0编辑  收藏  举报