Changeset: 237816fef586 for monetdb-java
URL: https://dev.monetdb.org/hg/monetdb-java?cmd=changeset;node=237816fef586
Modified Files:
src/main/java/nl/cwi/monetdb/jdbc/MonetStatement.java
Branch: default
Log Message:
Correct the documentation of the cancel() method.
diffs (18 lines):
diff --git a/src/main/java/nl/cwi/monetdb/jdbc/MonetStatement.java
b/src/main/java/nl/cwi/monetdb/jdbc/MonetStatement.java
--- 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
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list