Mercurial > hg > monetdb-java
changeset 181:237816fef586
Correct the documentation of the cancel() method.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 05 Oct 2017 17:19:53 +0200 (2017-10-05) |
parents | fdf4c888d5b7 |
children | 3715e8550be1 |
files | src/main/java/nl/cwi/monetdb/jdbc/MonetStatement.java |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/nl/cwi/monetdb/jdbc/MonetStatement.java +++ b/src/main/java/nl/cwi/monetdb/jdbc/MonetStatement.java @@ -289,11 +289,10 @@ public class MonetStatement } /** - * Cancels this Statement object if both the DBMS and driver support - * aborting an SQL statement. This method can be used by one thread to - * cancel a statement that is being executed by another thread. + * Cancels this Statement object if both the DBMS and driver support aborting an SQL statement. + * This method can be used by one thread to cancel a statement that is being executed by another thread. * - * @throws SQLException - if a database access error occurs or the cancel operation is not supported + * @throws SQLException - if a database access error occurs or this method is called on a closed Statement * @throws SQLFeatureNotSupportedException - if the JDBC driver does not support this method */ @Override