Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问是否支持SQLite数据库 #756

Open
Wang-Yumin opened this issue Aug 23, 2024 · 3 comments
Open

请问是否支持SQLite数据库 #756

Wang-Yumin opened this issue Aug 23, 2024 · 3 comments

Comments

@Wang-Yumin
Copy link

Wang-Yumin commented Aug 23, 2024

Description

如题,我在 SQLConfig 中没有找到 DATABASE_SQLITE 这样的配置,想知道是否支持 SQLite 数据库?

@TommyLemon
Copy link
Collaborator

SQLite 兼容部分 MySQL 语法及 JDBC,可以用 DATABASE_MYSQL 试试,不过 dburi 等还是要用 SQLite 的配置。
如果可行,后面为了方便,可以 SQLConfig 内新增 DATABASE_SQLITE 以及 isSQLite 判断方法

@afumu
Copy link
Contributor

afumu commented Aug 29, 2024

@Wang-Yumin 可以看看这里,我加了SQLite的配置支持 #757

@TommyLemon
Copy link
Collaborator

TommyLemon commented Sep 1, 2024

@Wang-Yumin 可以看看这里,我加了SQLite的配置支持 #757

@afumu
非常感谢,APIJSON-Demo 也需要新增一个配置 SQLite JDBC 的版本哈
https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server

可以试试
https://github.com/xerial/sqlite-jdbc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants