Code example for ResultSetMetaData

Methods: getColumnLabel, getColumnName

0
   * @param columnName 
   * @return 
   * @throws java.sql.SQLException 
   */ 
  public long getLong(String columnName) throws SQLException {
System.out.println(">>>>>>>> " + columnName + " " + findColumn(columnName) + " " + m_meta.getColumnLabel(findColumn(columnName)) + " " + m_meta.getColumnName(findColumn(columnName)));
    return m_resultSet.getLong(columnName);
  } 
 
  /** 
   * @return 
   * @throws java.sql.SQLException 
   */ 
  public ResultSetMetaData getMetaData() throws SQLException {
    return m_meta;
  } 
 
  /** 
   * @param columnIndex 
   * @param x 
   * @throws java.sql.SQLException