X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8FEE83A58BF for ; Tue, 11 Jan 2005 10:57:55 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 65551-08 for ; Tue, 11 Jan 2005 10:57:43 +0000 (GMT) Received: from gateplz.comstar.cz (gateplz-adsl.comstar.cz [193.179.24.196]) by svr1.postgresql.org (Postfix) with ESMTP id E558D3A5892 for ; Tue, 11 Jan 2005 10:57:43 +0000 (GMT) Received: from fhrbek (fhrbek.plz.comstar.cz [192.168.3.30]) by gateplz.comstar.cz (8.12.8/8.12.8) with SMTP id j0BAvfpd019640 for ; Tue, 11 Jan 2005 11:57:41 +0100 Message-ID: <001e01c4f7cc$63f20150$1e03a8c0@fhrbek> From: "Filip Hrbek" To: Subject: Bug report - supportsSavepoints Date: Tue, 11 Jan 2005 11:57:48 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001B_01C4F7D4.C51F3260" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.078 tagged_above=0 required=5 tests=FORGED_RCVD_HELO, HTML_60_70, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200501/78 X-Sequence-Number: 11958 This is a multi-part message in MIME format. ------=_NextPart_000_001B_01C4F7D4.C51F3260 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_001B_01C4F7D4.C51F3260 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable
Hello,
 
I've tested PostgreSQL 8.0.0rc4 with=20 PostgreSQL-jdbc3.
Although PostgreSQL's new feature - = savepoints -=20 works fine using JDBC3, the DatabaseMetaData.supportsSavepoints() method = invoked=20 on a valid connection to PostgreSQL database returns "false", but should = return=20 "true".
 
The "return false" is hardwired into = the source=20 code:
 
AbstractJdbc3DatabaseMetaData.java:
...
    public boolean=20 supportsSavepoints() throws SQLException
   =20 {
        return=20 false;
    }
 ...
 
 
Exact product versions:
pg80b1.308.jdbc3.jar
PostgreSQL 8.0.0 rc4
 
It would be useful if this method told = the=20 truth.
 
Best regards
  Filip Hrbek
 
------=_NextPart_000_001B_01C4F7D4.C51F3260--