Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ResultSetMetaData  RSS feed

 
Chinmay Bajikar
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the way to get the column alias being used in the query when you are using the ResultSetMetaData object?
I suspect it is getLabel()?

Thanks ,
Chinmay
 
Shailesh Chandra
Ranch Hand
Posts: 1084
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't tried this but I guess that getColumnLabel(int column) of ResultSetMetaData will give you result

Shailesh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!