Re: PGResultSetMetaData

From: leo <usenet(at)workfile(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: PGResultSetMetaData
Date: 2005-01-23 19:49:59
Message-ID: tl7l0tocpvg6.1rfovtffloi2o.dlg@40tude.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Chris Smith:
> ResultSet rs = stmt.executeQuery(...);
> ResultSetMetaData rmd = rs.getMetaData();
>
> String table = rmd.getTableName(1);
> String schema = rmd.getSchemaName(1);
Does this really work?

Using Postgres 8 i am getting empty strings from both methods.

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2005-01-23 20:02:59 Re: PGResultSetMetaData
Previous Message Chris Smith 2005-01-23 19:32:30 Re: PGResultSetMetaData