1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-15 19:21:59 +03:00

Implementation for cancelQuery by Grant Finnemore <grantf@guruhut.co.za>

This commit is contained in:
Dave Cramer
2002-02-26 02:15:55 +00:00
parent 29e3ef0fe9
commit 7776319a7e
3 changed files with 54 additions and 4 deletions

View File

@ -211,6 +211,11 @@ public class Statement extends org.postgresql.Statement implements java.sql.Stat
return result;
}
public void Cancel() throws SQLException
{
connection.cancelQuery();
}
public java.sql.Connection getConnection() throws SQLException
{
return (java.sql.Connection)connection;