Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getTableName() on ResultSetMetadata

 
chakra pendurt
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,
I am using Oracle thin driver (classes12.zip) . I have the following problem:
Iam getting ResultSetMetaData from ResultSet, and trying to print the column names and table names of ResultSet
I am getting ColumnNames properly, And iam not getting the tableName . Only "" is returned on getTableName() of ResultSetMetadata
Did any one have solution for this.
Thanks
Chakra
 
Blake Minghelli
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the docs on your driver. The Informix JDBC driver we use has the same problem but it is documented as such.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic