Skip to content

Commit

Permalink
fixed auto-commit for reference manager
Browse files Browse the repository at this point in the history
  • Loading branch information
clausnagel committed Sep 13, 2024
1 parent 776d6df commit 7e008be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private void update(Map<Long, Long> resolved, CacheType type) {
countLatch.increment();
service.execute(() -> {
try {
try (Connection connection = adapter.getPool().getConnection();
try (Connection connection = adapter.getPool().getConnection(true);
PreparedStatement stmt = connection.prepareStatement("update " +
adapter.getConnectionDetails().getSchema() + "." + type.getTable() +
" set " + type.getColumn() + " = ? where id = ?")) {
Expand Down

0 comments on commit 7e008be

Please sign in to comment.