Skip to content

Commit 626a05f

Browse files
committed
When using the JDBC transaction manager, instead of setting the default transaction isolation level to SERIALIZABLE by default, use the default storage setting
1 parent 8f14c2d commit 626a05f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/src/main/java/com/scalar/db/storage/jdbc/JdbcUtils.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ public static BasicDataSource initDataSource(
3636
if (transactional) {
3737
dataSource.setDefaultAutoCommit(false);
3838
dataSource.setAutoCommitOnReturn(false);
39-
// if transactional, the default isolation level is SERIALIZABLE
40-
dataSource.setDefaultTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE);
4139
}
4240

4341
config

0 commit comments

Comments
 (0)