Bug report - supportsSavepoints - Mailing list pgsql-jdbc

From Filip Hrbek
Subject Bug report - supportsSavepoints
Date
Msg-id 001e01c4f7cc$63f20150$1e03a8c0@fhrbek
Whole thread Raw
Responses Re: Bug report - supportsSavepoints  (Kris Jurka <books@ejurka.com>)
List 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
 

pgsql-jdbc by date:

Previous
From: Venkatesh Babu
Date:
Subject: Re: Fwd: Re: Help with this exception...
Next
From: Kris Jurka
Date:
Subject: Re: Bug report - supportsSavepoints