Chris2018998 / beecp

A small JDBC Connection pool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SQLite supports only TRANSACTION_SERIALIZABLE and TRANSACTION_READ_UNCOMMITTED

looly opened this issue · comments

使用SQLite时,使用BeeCP默认的配置项,默认TRANSACTION_READ_COMMITTED不支持。
BeeCP 3.x
BeeDataSourceConfig中:

//default transaction isolation description,match isolation code can be set to <code>defaultTransactionIsolationCode</code>
private String defaultTransactionIsolation = TransactionIsolationLevel.LEVEL_READ_COMMITTED;

在BeeCP 2.x中默认是null不存在问题。

Sorry,看错了,你提供了warn日志,而非抛出异常。