http-service: fix sql2o statement leak

commit() will call closeJdbcConnection() which does not clean up statements and causes the later close() to noop
This commit is contained in:
Adam
2018-04-30 10:33:59 -04:00
parent 73c54db006
commit 2d7adb248a
2 changed files with 3 additions and 3 deletions

View File

@@ -244,7 +244,7 @@ public class ItemService
}
query.executeBatch();
con.commit();
con.commit(false);
return entries;
}
@@ -320,7 +320,7 @@ public class ItemService
}
q.executeBatch();
con.commit();
con.commit(false);
}
}

View File

@@ -150,7 +150,7 @@ public class XteaService
}
query.executeBatch();
con.commit();
con.commit(false);
}
}