引言
本文介绍的是 Java 并发编程过程中,因共享数据库文件导致的死锁案例分析,这是笔者实践过程中的真实问题复盘,将其纳入专栏中,希望对读者朋友们有所启发。
SQLite 数据库基础
SQLite
是什么呢?它是一个 C 语言库,实现了一个小型、快速、自包含、高可靠性、功能齐全的 SQL 数据库引擎。 Sqlite 官网 是这样描述它的:
SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine. SQLite is the most used database engine in the world. SQLite is built into all mobile phones and most computers a