Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
565a3169
Commit
565a3169
authored
Nov 18, 2025
by
Luna Riegel
Browse files
Fix: Turn autocommit back on after batched commit
parent
07961c23
Changes
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/database/DatabaseHandler.java
View file @
565a3169
...
@@ -154,6 +154,8 @@ public class DatabaseHandler {
...
@@ -154,6 +154,8 @@ public class DatabaseHandler {
logger
.
error
(
Localization
.
getText
(
"DatabaseHandler.batchCommitFailure"
),
id
);
logger
.
error
(
Localization
.
getText
(
"DatabaseHandler.batchCommitFailure"
),
id
);
logger
.
error
(
e
.
getMessage
());
logger
.
error
(
e
.
getMessage
());
return
false
;
return
false
;
}
finally
{
con
.
setAutoCommit
(
true
);
}
}
}
catch
(
SQLException
e
){
}
catch
(
SQLException
e
){
logger
.
error
(
Localization
.
getText
(
"DatabaseHandler.connectionFailure"
));
logger
.
error
(
Localization
.
getText
(
"DatabaseHandler.connectionFailure"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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