Skip to content

Commit

Permalink
fix: using right transaction isolation level for mysql in bulkimport
Browse files Browse the repository at this point in the history
  • Loading branch information
tamassoltesz committed Dec 4, 2024
1 parent 7033f8b commit 3de313f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public synchronized Connection getTransactionConnection() throws SQLException, S
if (this.connection == null) {
Connection con = ConnectionPool.getConnectionForProxyStorage(this);
this.connection = new BulkImportProxyConnection(con);
connection.setTransactionIsolation(Connection.TRANSACTION_REPEATABLE_READ);
connection.setTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);
connection.setAutoCommit(false);
}
return this.connection;
Expand Down

0 comments on commit 3de313f

Please sign in to comment.