Bug #21596 | column aliases ignored in ResultSetMetaData | ||
---|---|---|---|
Submitted: | 11 Aug 2006 19:11 | Modified: | 14 Aug 2006 1:35 |
Reporter: | Peter Brown | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | 5.0.2-beta, 5.0.3 | OS: | Windows (Windows XP) |
Assigned to: | CPU Architecture: | Any |
[11 Aug 2006 19:11]
Peter Brown
[14 Aug 2006 1:35]
Mark Matthews
Duplicate of BUG#21379. This is a change required for JDBC-compliance. RSMD.getColumnName() is required to return the actual column name. Aliases are returned via RSMD.getColumnLabel(). If you want the older non-compliant behavior from Connector/J 3.1, use the "useOldAliasMetadataBehavior" configuration parameter present in the 5.0 nightly builds, and set it to "true".