与小型Java桌面应用程序一起使用的最佳嵌入式数据库是什么? [英] What will be the best embedded database to be used with a small Java desktop application?

查看:359
本文介绍了与小型Java桌面应用程序一起使用的最佳嵌入式数据库是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的要求是


  • 嵌入式数据库

  • 与Netbeans IDE轻松集成

  • 应该可以使用JPA开发

  • 免费

  • 数据库的大小应该是最小的

  • Embedded Database
  • Easy Integration with Netbeans IDE
  • Should be able to develop using JPA
  • Free of cost
  • Size of the database should be minimum

请为我推荐一个包含上述功能的数据库,并提供一些有关该教程的指导。

Please do suggest me a database with the above mentioned features and some pointers to good tutorials regarding that.

推荐答案

我建议 HSQLDB 。查看Spring和Hibernate等框架的教程,他们倾向于使用HSQLDB作为如何使用嵌入式数据库的示例。

I'd suggest HSQLDB. Looking at tutorials of frameworks like Spring and Hibernate, they tend to use HSQLDB as an example of how to use an embedded database with them.

你可以使用JPA,我亲自尝试过使用Hibernate并取得了很好的成果。它用于OpenOffice和Mathematica等项目,因此应该说它的质量。

You can use JPA with it, I've personally tried with Hibernate and have had some great results. It's used in projects such as OpenOffice and Mathematica, so that should speak of its quality.

HSQLDB符合你的5个要求中的4个。也许是5的5,只是因为我没有使用Netbeans作为我的IDE。但我相信你可以自己尝试一下。

HSQLDB fits 4 of your 5 requirements. Maybe 5 of 5, only because I don't use Netbeans as my IDE. But I'm sure you can try it yourself.

这篇关于与小型Java桌面应用程序一起使用的最佳嵌入式数据库是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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