Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
7b6b4c30
Commit
7b6b4c30
authored
Mar 19, 2021
by
Piotr Gawron
Browse files
delete script should be executed as as update (not query)
parent
8ab015f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
persist/src/main/java/lcsb/mapviewer/persist/migration/V16_0_0_20200922_2__generic_article_data_migration.java
View file @
7b6b4c30
...
...
@@ -113,7 +113,7 @@ public abstract class V16_0_0_20200922_2__generic_article_data_migration extends
}
try
(
Statement
select
=
context
.
getConnection
().
createStatement
())
{
select
.
execute
Query
(
"delete from cache_query_table where query like 'pubmed:%'"
);
select
.
execute
Update
(
"delete from cache_query_table where query like 'pubmed:%'"
);
}
catch
(
Exception
e
)
{
logger
.
error
(
"Problem with purgining cached article data"
,
e
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment