Обсуждение: Bug report - supportsSavepoints
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;
}
...
{
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
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