https://issues.apache.org/bugzilla/show_bug.cgi?id=46932

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #3 from [email protected] ---
This bug is still present. The issue is not due to a bug in any JDBC driver,
but rather in the JDBC Sampler. In particular if you look at the code in 
src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/AbstractJDBCTestElement.java
you see that the method getStringFromResultSet(ResultSet rs) the method
ResultSetMetaData.getColumnName(i) is used (in two places) instead of
getColumnLabel(), which correctly returns the alias name.

See also:
http://stackoverflow.com/questions/12709814/column-aliasing-in-select-statements-doesnt-work-with-squirrel-sql-firebird
and 
http://bugs.mysql.com/bug.php?id=43684

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to