Skip to content
Snippets Groups Projects
Commit b01e2009 authored by felmer's avatar felmer
Browse files

SSDM-6227: Bug in DataDAO.confirmStorage() fixed.

parent a0fd1cb1
No related branches found
No related tags found
No related merge requests found
......@@ -1444,7 +1444,7 @@ final class DataDAO extends AbstractGenericEntityWithPropertiesDAO<DataPE> imple
currentSession().createSQLQuery(
"update external_data set storage_confirmation = true "
+ "where storage_confirmation = false "
+ "and data_id in (select id from data_all where code = :code)");
+ "and id in (select id from data_all where code = :code)");
query.setString("code", CodeConverter.tryToDatabase(dataSetCode));
return query.executeUpdate() > 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment