snaker-core/src/main/java/org/snaker/engine/access/jdbc/JdbcHelper.java
public static String lookupColumnName(ResultSetMetaData resultSetMetaData, int columnIndex) throws SQLException {
		String name = resultSetMetaData.getColumnLabel(columnIndex);
		if (name == null || name.length() < 1) {
			name = resultSetMetaData.getColumnName(columnIndex);
		}
		return name;
	}
public static String lookupColumnName(ResultSetMetaData resultSetMetaData, int columnIndex) throws SQLException {
		String name = resultSetMetaData.getColumnLabel(columnIndex);
		if (name == null || name.length() < 1) {
			name = resultSetMetaData.getColumnName(columnIndex);
		}
		return name;
	}
public static String lookupColumnName ( ResultSetMetaData resultSetMetaData , int columnIndex ) throws SQLException { String name = resultSetMetaData . getColumnLabel ( columnIndex ) ; if ( name == null || name . length ( ) < 1 ) { name = resultSetMetaData . getColumnName ( columnIndex ) ; } return name ; }
根据元数据ResultSetMetaData、列索引columIndex获取列名称
@param resultSetMetaData
@param columnIndex
@return
@throws SQLException
根据元数据ResultSetMetaData、列索引columIndex获取列名称