code: public String getColumnName(int column) throws SQLException {
  
          checkColumn(column);
  
          if (useColumnName) {
              String name = resultMetaData.columns[--column].getNameString();
  
              return name == null ? ""
                                  : name;
          }
  
          return resultMetaData.columnLabels[--column];
      }
docs: <!-- start generic documentation -->
  Get the designated column's name.
  <!-- end generic documentation -->
  
  <!-- start Release-specific documentation -->
  <div class="ReleaseSpecificDocumentation">
  <h3>HSQLDB-Specific Information:</h3> <p>
  
  In HSQLDB, a ResultSet column name is determined using the following
  order of prcedence:<p>
  
  <OL>
  <LI>The name of the underlying columnm, if the ResultSet column
  represents a column in a table.</LI>
  <LI>The label or alias specified in the generating query.</LI>
  <L1>C1, C2, etc. for computed columns that have no label.</LI>
  </OL> <p>
  
  If the <code>jdbc.get_column_name</code> property of the JDBC Connection
  has been set to false, this method returns the same value as
  {@link #getColumnLabel(int)}.<p>
  
  </div>
  <!-- end release-specific documentation -->
  
  @param column the first column is 1, the second is 2, ...
  @return column name
  @exception SQLException if a database access error occurs