Skip to content
Snippets Groups Projects
Commit eba1cd19 authored by Ondřej Hrdlička's avatar Ondřej Hrdlička
Browse files

Fixed missing SQL parameter initialization

parent 0c9226c5
No related branches found
No related tags found
2 merge requests!52Final project MR,!45Activating most of the app
......@@ -100,6 +100,7 @@ public class CategoryTimeDao implements OneToNDao<CategoryTime> {
st.setLong(1, entity.getTimeInHours());
st.setDate(2, Date.valueOf(entity.getCompletionDate()));
st.setLong(3, entity.getTaskId());
st.setLong(4, entity.getId());
int rowsUpdated = st.executeUpdate();
if (rowsUpdated == 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