Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个需要创建和使用 sqlite 数据库的程序。我现在需要做的是创建数据库并确保我的所有类都可以与之交互。我在网上看过,但我发现很多东西自相矛盾。谁能简单地解释一下我将如何创建这个数据库并首先连接到它?
您需要了解JDBC 教程。这就是 Java 与包括 SQLLite 在内的关系数据库交互的方式。
SQLLite 也有很多教程,包括这个。
我不知道你发现了什么自相矛盾。