如何在jar文件中使用SQLite数据库? [英] How to use SQLite database inside jar file?

查看:168
本文介绍了如何在jar文件中使用SQLite数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法弄清楚如何在<。em> Java .jar文件中包含SQLite数据库以进行部署(通过Java WebStart)。

I can't figure out how to include a SQLite database within a Java .jar file for deployment (via Java WebStart).

数据库需要在运行时更新...它本质上是一个美化的配置文件。

The database does not need to be updated at runtime... it is essentially a glorified configuration file.

顺便使用Eclipse 。

Using Eclipse, by the way.

推荐答案

考虑的另一个好选择可能是德比,javadb。它现在与java捆绑在一起,设置非常快,性能也很好。

Another good option to consider could be derby, javadb. It's bundled with java now and is pretty fast to setup and has good performances.

问候,$ b $bStéphane

Regards, Stéphane

这篇关于如何在jar文件中使用SQLite数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆