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