ResultSet metadata for a prepared statement missing the applicable table, schema etc properties

From: the6campbells <the6campbells(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: ResultSet metadata for a prepared statement missing the applicable table, schema etc properties
Date: 2012-09-24 15:30:56
Message-ID: CAFEjsq6Rd1DOQVM3vWdbfZ_h5=vHdsCv_eXMvQQ_a4G9VW6VTg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

If you create a PreparedStatement such as select c1 from t1 and
subsequently request the ResultSetMetadata for that statement you will
observe that the driver is not providing any values for getTableName,
getSchemaName etc.

Is this a known bug?

Driver PostgreSQL 9.1 JDBC4 (build 902)
Server 9.0.4

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Johnston 2012-09-24 15:49:23 Re: Bug in AbstracJdbc2Statement.replaceProcessing when using dollar quoting?
Previous Message Maciek Sakrejda 2012-09-24 15:16:15 Re: Bug in AbstracJdbc2Statement.replaceProcessing when using dollar quoting?