Mercurial > hg > monetdb-java
diff src/main/java/nl/cwi/monetdb/jdbc/MonetStatement.java @ 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 | f0a704e33fe4 |
children | 57f09396b22c |
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