-
- Downloads
[TAP] Improve the abortion of queries, particularly during the UPLOAD phase.
Now, it is recommended to throw a DBCancelledException from any DBConnection long processing. It is already done for the upload of a table, the execution of an ADQL query and the setting of a whole TAP_SCHEMA. The flag JDBCConnection#cancelled has now a bit different meaning: it is set even if the Statement.cancel() fails so that any JDBCConnection function can see that a cancellation has been requested.
Showing
- src/tap/ADQLExecutor.java 25 additions, 13 deletionssrc/tap/ADQLExecutor.java
- src/tap/db/DBCancelledException.java 59 additions, 0 deletionssrc/tap/db/DBCancelledException.java
- src/tap/db/DBConnection.java 9 additions, 6 deletionssrc/tap/db/DBConnection.java
- src/tap/db/JDBCConnection.java 167 additions, 76 deletionssrc/tap/db/JDBCConnection.java
Loading
Please register or sign in to comment