全部
This commit is contained in:
@ -90,7 +90,7 @@ public class SQLiteUtil {
|
||||
stmt.execute("PRAGMA busy_timeout=2000;"); // 忙等待超时:2秒(避免瞬时并发锁等待)
|
||||
} catch (SQLException e) {
|
||||
e.printStackTrace();
|
||||
throw new RuntimeException("初始化SQLite数据源失败(路径:" + dbFilePath + ")+ 原因是:" + e.getMessage());
|
||||
throw new RuntimeException("请检查路径是否存在");
|
||||
}
|
||||
|
||||
return dataSource;
|
||||
|
||||
Reference in New Issue
Block a user