Skip to content

Commit f780cd1

Browse files
committed
WIth the JDBC transaction manager, use the storage default transaction isolation level instead of SERIALIZABLE (#3076)
1 parent 200f28b commit f780cd1

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)