Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getColumnName() returns aliases not the original column name

user11179792Sep 6 2012 — edited Nov 20 2014
It looks like I am getting the aliases as specified by the AS clause not the original column name from java.sql.ResultSetMetadata.getColumnName(). Is this the expected behavior of JDBC 4.0?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 5 2012
Added on Sep 6 2012
6 comments
1,862 views