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

JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "getTableName() on ResultSetMetadata" Watch "getTableName() on ResultSetMetadata" New topic

getTableName() on ResultSetMetadata

chakra pendurt

Joined: Jan 13, 2003
Posts: 1
I am using Oracle thin driver ( . 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.
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"
wood burning stoves
subject: getTableName() on ResultSetMetadata