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();
 }
示例#2
0
 public Object jdbcGet(IResultSet rs, int n) throws SQLException {
   Object obj = rs.getObject(n);
   if (obj == null) return null;
   return obj.toString();
 }