Get a table name

Поиск
Список
Период
Сортировка
От Gianvito Pio
Тема Get a table name
Дата
Msg-id 4B3737DA.4070408@gmail.com
обсуждение исходный текст
Ответы Re: Get a table name  (Filip Rembiałkowski <filip.rembialkowski@gmail.com>)
Re: Get a table name  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
Hi all,
I'm trying to get the table name of a column in this way:

ResultSet rs;
         try
         {
             rs = ps.executeQuery();
             ResultSetMetaData rsmd = rs.getMetaData();
             System.out.println(rsmd.getTableName(..));

but the getTableName( ..) method gives me an empty string. Isn't there a
way to know the table name of a specific field I'm obtaining? Thanks

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: 8.5 and application name
Следующее
От: Filip Rembiałkowski
Дата:
Сообщение: Re: Get a table name