diff --git a/src/tap/ADQLExecutor.java b/src/tap/ADQLExecutor.java index dd92dada1ffab11912031ea8ed378ea2fe5c7e1c..6b70b0cfcd6ec1c04531de85cf26b3a625b3870d 100644 --- a/src/tap/ADQLExecutor.java +++ b/src/tap/ADQLExecutor.java @@ -100,6 +100,8 @@ public class ADQLExecutor< R > { logger.info("JOB " + report.jobID + "\tLoading uploaded tables (" + tables.length + ")..."); long start = System.currentTimeMillis(); try{ + /* TODO Problem with the DBConnection! One is created here for the Uploader (and dbConn is set) and closed by its uploadTables function (but dbConn is not set to null). + * Ideally, the connection should not be close, or at least dbConn should be set to null just after. */ uploadSchema = service.getFactory().createUploader(getDBConnection()).upload(tables); }finally{ TAPParameters.deleteUploadedTables(tables);