Commit 565a3169 authored by Luna Riegel's avatar Luna Riegel
Browse files

Fix: Turn autocommit back on after batched commit

parent 07961c23
......@@ -154,6 +154,8 @@ public class DatabaseHandler {
logger.error(Localization.getText("DatabaseHandler.batchCommitFailure"), id);
logger.error(e.getMessage());
return false;
} finally{
con.setAutoCommit(true);
}
} catch (SQLException e){
logger.error(Localization.getText("DatabaseHandler.connectionFailure"));
......
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