You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Oleg Zhurakousky (JIRA)" <ji...@apache.org> on 2016/11/02 17:12:59 UTC
[jira] [Updated] (NIFI-2918) JDBC getColumnName may return empty
string
[ https://issues.apache.org/jira/browse/NIFI-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Zhurakousky updated NIFI-2918:
-----------------------------------
Status: Patch Available (was: Open)
> 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)