Commit 7b6b4c30 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

delete script should be executed as as update (not query)

parent 8ab015f3
......@@ -113,7 +113,7 @@ public abstract class V16_0_0_20200922_2__generic_article_data_migration extends
try (Statement select = context.getConnection().createStatement()) {
select.executeQuery("delete from cache_query_table where query like 'pubmed:%'");
select.executeUpdate("delete from cache_query_table where query like 'pubmed:%'");
} catch (Exception e) {
logger.error("Problem with purgining cached article data", e);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment