[ 
https://issues.apache.org/jira/browse/NIFI-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629670#comment-15629670
 ] 

ASF GitHub Bot commented on NIFI-2918:
--------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/nifi/pull/1149


> JDBC getColumnName may return empty string
> ------------------------------------------
>
>                 Key: NIFI-2918
>                 URL: https://issues.apache.org/jira/browse/NIFI-2918
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.1.0
>            Reporter: Peter Wicks
>            Assignee: Peter Wicks
>             Fix For: 1.1.0
>
>
> The SAP Hana JDBC Driver returns an empty string for getColumnName if the 
> column name in the SELECT statement was aliased.
> Instead you have to call getColumnLabel on the ResultSetMetaData.
> SAP as a company feels this is per the JDBC spec, so they are not going to 
> change it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to