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 {
7374757677787980818283
ESBase key = col.toPrimitive(); if (key.isString()) return rs.getByte(key.toString()); else return rs.getByte((int) key.toNum()); } public static short getShort(ResultSet rs, ESBase col) throws Throwable {
8485868788899091929394
ESBase key = col.toPrimitive(); if (key.isString()) return rs.getShort(key.toString()); else return rs.getShort((int) key.toNum()); } public static int getInt(ResultSet rs, ESBase col) throws Throwable {
9596979899100101102103104105
ESBase key = col.toPrimitive(); if (key.isString()) return rs.getInt(key.toString()); else return rs.getInt((int) key.toNum()); } public static long getLong(ResultSet rs, ESBase col) throws Throwable {
106107108109110111112113114115116
ESBase key = col.toPrimitive(); if (key.isString()) return rs.getLong(key.toString()); else return rs.getLong((int) key.toNum()); } public static float getFloat(ResultSet rs, ESBase col) throws Throwable {
117118119120121122123124125126127
ESBase key = col.toPrimitive(); if (key.isString()) return rs.getFloat(key.toString()); else return rs.getFloat((int) key.toNum()); } public static double getDouble(ResultSet rs, ESBase col) throws Throwable {
128129130131132133134135136137138
ESBase key = col.toPrimitive(); if (key.isString()) return rs.getDouble(key.toString()); else return rs.getDouble((int) key.toNum()); } public static BigDecimal getBigDecimal(ResultSet rs, ESBase col, int i) throws Throwable {
139140141142143144145146147148149
ESBase key = col.toPrimitive(); if (key.isString()) return rs.getBigDecimal(key.toString(), i); else return rs.getBigDecimal((int) key.toNum(), i); } public static byte[] getBytes(ResultSet rs, ESBase col) throws Throwable {
150151152153154155156157158159160
ESBase key = col.toPrimitive(); if (key.isString()) return rs.getBytes(key.toString()); else return rs.getBytes((int) key.toNum()); } public static ESBase getDate(ResultSet rs, Call call, int len) throws Throwable {