public Object jdbcGet(IResultSet rs, int n) throws SQLException {
   Object obj = rs.getObject(n);
   if (obj == null) return null;
   if (obj instanceof Double) return obj;
   return ((Number) obj).doubleValue();
 }
Example #2
0
 public Object jdbcGet(IResultSet rs, int n) throws SQLException {
   Object obj = rs.getObject(n);
   if (obj == null) return null;
   return obj.toString();
 }