Here you can find the source of getRSClob(Object obj, String def)
static public String getRSClob(Object obj, String def) throws java.sql.SQLException
//package com.java2s; //License from project: Apache License public class Main { static public String getRSClob(Object obj) throws java.sql.SQLException { return getRSClob(obj, null); }/*from w ww .j av a 2 s .c om*/ static public String getRSClob(Object obj, String def) throws java.sql.SQLException { if (obj == null) return def; if (obj instanceof java.sql.Clob) return ((java.sql.Clob) obj).getSubString((long) 1, (int) ((java.sql.Clob) obj).length()); System.out.println("end of getRSClob, wrong object: " + obj.getClass().getName()); return def; } }