Java中在Firebird和HSQLDB之间进行选择

问题描述:

我想用Java编写一个小型(5-6张表)的桌面应用程序。我想使用Firebird 2.1。数据库。但是我用谷歌搜索并看到了HSQLDB。我想在Firebird和hsqldb之间做出决定。

I want to write a small (5-6 table) desktop app in Java. I want to use Firebird 2.1. database. But I googled and see HSQLDB. I want to make a decision between Firebird and hsqldb.

那么我必须使用哪个数据库?

So which database I have to use?

对于桌面应用程序,嵌入式数据库应该足够了。 hsqldb h2 非常适合此操作。您只需要将JAR文件添加到应用程序类路径即可。 Firebird看起来更复杂。

For a desktop application an embedded database should be enough. hsqldb or h2 are very well suited for this. You just have to add the JAR file to you applications classpath. Firebird looks more complex.

实际上, H2比hsqldb更高级