Bug report - supportsSavepoints

From: "Filip Hrbek" <filip(dot)hrbek(at)plz(dot)comstar(dot)cz>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Bug report - supportsSavepoints
Date: 2005-01-11 10:57:48
Message-ID: 001e01c4f7cc$63f20150$1e03a8c0@fhrbek
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2005-01-11 12:03:41 Re: Bug report - supportsSavepoints
Previous Message Venkatesh Babu 2005-01-11 05:21:50 Re: Fwd: Re: Help with this exception...