Example #1
0
 private Object getClobObject(int i) throws SQLException {
   ResultSetMetaData meta = this.getMetaData();
   if (meta.getColumnType(i) == Types.CLOB) {
     if (this.getClob(i) == null) return StringUtil.EMPTY;
     else return RowsUtils.clobToString(this.getClob(i));
   } else {
     return super.getObject(i);
   }
 }
Example #2
0
 protected String getClobString(int i) throws SQLException {
   return RowsUtils.clobToString(this.getClob(i));
 }