File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes getTableName() on ResultSetMetadata Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "getTableName() on ResultSetMetadata" Watch "getTableName() on ResultSetMetadata" New topic
Author

getTableName() on ResultSetMetadata

chakra pendurt
Greenhorn

Joined: Jan 13, 2003
Posts: 1
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

Joined: Sep 13, 2002
Posts: 331
Check the docs on your driver. The Informix JDBC driver we use has the same problem but it is documented as such.


Blake Minghelli<br />SCWCD<br /> <br />"I'd put a quote here but I'm a non-conformist"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getTableName() on ResultSetMetadata