pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Filip Hrbek <filip.hrbek@plz.comstar.cz>
To: pgsql-jdbc@postgresql.org
Subject: Bug report - supportsSavepoints
Date: Tue, 11 Jan 2005 11:57:48 +0100
Message-ID: <001e01c4f7cc$63f20150$1e03a8c0@fhrbek> (raw)

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

view thread (2+ messages)  latest in thread

Message-ID: <001e01c4f7cc$63f20150$1e03a8c0@fhrbek>
Permalink:  ../001e01c4f7cc$63f20150$1e03a8c0@fhrbek/
Also on:    postgresql.org/message-id/001e01c4f7cc$63f20150$1e03a8c0@fhrbek

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: filip.hrbek@plz.comstar.cz
  Subject: Re: Bug report - supportsSavepoints
  In-Reply-To: <001e01c4f7cc$63f20150$1e03a8c0@fhrbek>
  References: <001e01c4f7cc$63f20150$1e03a8c0@fhrbek>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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