163164165166167168169170171172173
java.util.Date date; if (key.isString()) date = rs.getDate(key.toString()); else date = rs.getDate((int) key.toNum()); return call.createDate(date.getTime()); } public static ESBase getTime(ResultSet rs, Call call, int len)
178179180181182183184185186187188
java.util.Date date; if (key.isString()) date = rs.getTime(key.toString()); else date = rs.getTime((int) key.toNum()); return call.createDate(date.getTime()); } public static ESBase getTimestamp(ResultSet rs, Call call, int len)
193194195196197198199200201202203
java.util.Date date; if (key.isString()) date = rs.getTimestamp(key.toString()); else date = rs.getTimestamp((int) key.toNum()); return call.createDate(date.getTime()); } public static InputStream getAsciiStream(ResultSet rs, ESBase col)
206207208209210211212213214215216
ESBase key = col.toPrimitive(); if (key.isString()) return rs.getAsciiStream(key.toString()); else return rs.getAsciiStream((int) key.toNum()); } public static InputStream getUnicodeStream(ResultSet rs, ESBase col) throws Throwable {
217218219220221222223224225226227
ESBase key = col.toPrimitive(); if (key.isString()) return rs.getUnicodeStream(key.toString()); else return rs.getUnicodeStream((int) key.toNum()); } public static InputStream getBinaryStream(ResultSet rs, ESBase col) throws Throwable {
228229230231232233234235236237238
ESBase key = col.toPrimitive(); if (key.isString()) return rs.getBinaryStream(key.toString()); else return rs.getBinaryStream((int) key.toNum()); } public static Object getObject(ResultSet rs, ESBase col) throws Throwable {
239240241242243244245246247248249
ESBase key = col.toPrimitive(); if (key.isString()) return rs.getObject(key.toString()); else return rs.getObject((int) key.toNum()); } public static String getByname(ResultSet rs, String string) throws SQLException {
5152535455565758596061
ESBase key = col.toPrimitive(); if (key.isString()) return rs.getString(key.toString()); else return rs.getString((int) key.toNum()); } public static boolean getBoolean(ResultSet rs, ESBase col) throws Throwable {
6263646566676869707172
ESBase key = col.toPrimitive(); if (key.isString()) return rs.getBoolean(key.toString()); else return rs.getBoolean((int) key.toNum()); } public static byte getByte(ResultSet rs, ESBase col) throws Throwable {