pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Bug report - supportsSavepoints
2+ messages / 2 participants
[nested] [flat]

* Bug report - supportsSavepoints
@ 2005-01-11 10:57  Filip Hrbek <filip.hrbek@plz.comstar.cz>
  0 siblings, 1 reply; 2+ messages in thread

From: Filip Hrbek @ 2005-01-11 10:57 UTC (permalink / raw)
  To: pgsql-jdbc

Hello,

I've tested PostgreSQL 8.0.0rc4 with PostgreSQL-jdbc3.
Although PostgreSQL's new feature - savepoints - works fine using JDBC3, the DatabaseMetaData.supportsSavepoints() method invoked on a valid connection to PostgreSQL database returns "false", but should return "true".

The "return false" is hardwired into the source code:

AbstractJdbc3DatabaseMetaData.java:
...
    public boolean supportsSavepoints() throws SQLException
    {
        return false;
    }
 ...


Exact product versions:
pg80b1.308.jdbc3.jar
PostgreSQL 8.0.0 rc4

It would be useful if this method told the truth.

Best regards
  Filip Hrbek

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Bug report - supportsSavepoints
@ 2005-01-11 12:03  Kris Jurka <books@ejurka.com>
  parent: Filip Hrbek <filip.hrbek@plz.comstar.cz>
  0 siblings, 0 replies; 2+ messages in thread

From: Kris Jurka @ 2005-01-11 12:03 UTC (permalink / raw)
  To: Filip Hrbek <filip.hrbek@plz.comstar.cz>; +Cc: pgsql-jdbc



On Tue, 11 Jan 2005, Filip Hrbek wrote:

> Hello,
> 
> I've tested PostgreSQL 8.0.0rc4 with PostgreSQL-jdbc3. Although
> PostgreSQL's new feature - savepoints - works fine using JDBC3, the
> DatabaseMetaData.supportsSavepoints() method invoked on a valid
> connection to PostgreSQL database returns "false", but should return
> "true".
> 

This has already been fixed in cvs, but thanks for the report.

Kris Jurka



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-01-11 12:03 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-01-11 10:57 Bug report - supportsSavepoints Filip Hrbek <filip.hrbek@plz.comstar.cz>
2005-01-11 12:03 ` Kris Jurka <books@ejurka.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox