]
RH Bugzilla Integration updated TEIID-3385:
-------------------------------------------
Bugzilla Update: Perform
Bugzilla References:
ResultSetMetaData returns wrong column name after renaming (using
AS)
---------------------------------------------------------------------
Key: TEIID-3385
URL:
https://issues.jboss.org/browse/TEIID-3385
Project: Teiid
Issue Type: Bug
Affects Versions: 8.7.1
Reporter: Juraj DurĂ¡ni
Assignee: Steven Hawkins
Query: SELECT IntKey AS a FROM <table>;
Issues:
- ResultSetMetaData object returns name of the column "IntKey", but it should
return "a".
- method ResultSet.getString("IntKey") thows an exception
(org.teiid.jdbc.TeiidSQLException: Column name "INTKEY" does not exist.), but
ResultSet.getString("a") returns the correct result.