s += " ->";
}
switch(getter) {
case 0: {o = rs.getObject(col); break;}
case 1: {Array v=rs.getArray(col);o=v;break;}
case 2: {InputStream v=rs.getAsciiStream(col);o=v;break;}
case 3: {BigDecimal v=rs.getBigDecimal(col);o=v;break;}
case 4: {InputStream v=rs.getBinaryStream(col);o=v;break;}
case 5: {Blob v=rs.getBlob(col);o=v;break;}
case 6: {boolean v=rs.getBoolean(col);o=new Boolean(v);break;}
case 7: {byte v=rs.getByte(col);o=new Byte(v);break;}
case 8: {byte[] v=rs.getBytes(col);o=v;break;}
case 9: {Reader v=rs.getCharacterStream(col);o=v;break;}
case 10:{Clob v=rs.getClob(col);o=v;break;}
case 11:{Date v=rs.getDate(col);o=v; break;}
case 12:{double v=rs.getDouble(col);o=new Double(v);break;}
case 13:{float v=rs.getFloat(col);o=new Float(v);break;}
case 14:{int v=rs.getInt(col);o=new Integer(v);break;}
case 15:{long v=rs.getLong(col);o=new Long(v);break;}
case 16:{Ref v=rs.getRef(col);o=v;break;}
case 17:{short v=rs.getShort(col);o=new Short(v);break;}
case 18:{String v=rs.getString(col);o=v;break;}
case 19:{Time v=rs.getTime(col);o=v;break;}
case 20:{Timestamp v=rs.getTimestamp(col);o=v;break;}
// case 21:{URL v=rs.getURL(col);o=v;break;}
default: return null;
}
// fixup if it contains classname (remove "random" part after @)
String v = o.toString();
if (v.indexOf('@') != -1) { // non standard java object.
s += "Object' \t: "+prettyType(o);
} else {
// default stringifier...
s += "'"+v+"' \t: "+o.getClass().getName();
}