Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1202830

Summary: ResultSetMetaData returns wrong column name after renaming (using AS)
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Juraj Duráni <jdurani>
Component: TeiidAssignee: Van Halbert <vhalbert>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: atangrin, vhalbert
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-17 14:37:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Juraj Duráni 2015-03-17 14:07:46 UTC
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.



Document URL: 

Section Number and Name: 

Describe the issue: 

Suggestions for improvement: 

Additional information:

Comment 1 JBoss JIRA Server 2015-03-17 14:32:20 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3385 to Resolved

Comment 2 JBoss JIRA Server 2015-04-07 12:51:01 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3385 to Closed