code: protected static ResultSet getColumnMetaData (Connection conn, String table, String column)
          throws SQLException
      {
          ResultSet rs = conn.getMetaData().getColumns("", "", table, column);
          while (rs.next()) {
              String tname = rs.getString("TABLE_NAME");
              String cname = rs.getString("COLUMN_NAME");
              if (tname.equals(table) && cname.equals(column)) {
                  return rs;
              }
          }
          throw new SQLException("Table or Column not defined. [table=" + table +
                                 ", col=" + column + "].");
      }
docs: Helper function for {@link #getColumnType}, etc.