Re: Get a table name
| От | Filip Rembiałkowski |
|---|---|
| Тема | Re: Get a table name |
| Дата | |
| Msg-id | 92869e660912270459h55fd3024k97d8c5ee1d4cfd60@mail.gmail.com обсуждение исходный текст |
| Ответ на | Get a table name (Gianvito Pio <pio.gianvito@gmail.com>) |
| Ответы |
Re: Get a table name
|
| Список | pgsql-jdbc |
In general, no. That's because resultset columns can be "entangled" in
more complex way than "column a of table b".
2009/12/27, Gianvito Pio <pio.gianvito@gmail.com>:
> 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
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>
--
Wysłane z mojego urządzenia przenośnego
Filip Rembiałkowski
JID,mailto:filip.rembialkowski@gmail.com
http://filip.rembialkowski.net/
В списке pgsql-jdbc по дате отправления: