This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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
 
Similar Threads
get the table names from my database
Java & MS Access
How to retrive Table names in a database
How to fetch Table Name
Problems with ResultSetMetaData getTableName()