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