java - can i get table name in join select query form ResultSetMetaData -


can table name

resultsetmetadata
query join of multiple tables

example

select * table1 , table 2

when going try retrieve table name

resultsetmetadata
founds empty value.

note : using informix driver

based on informix jdbc guide, driver unable retrieve tablename if query accesses more 1 table , return single space instead:

resultsetmetadata.gettablename()

returns table name select, insert, , update statements

select statements more 1 table name , other statements return string object containing 1 blank space.

from: unsupported methods , methods behave differently


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -