We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
你的问题非常广泛,实际上不可能回答,但无论如何我都会尝试。
HSQLDB 与任何其他 DBMS 没有什么不同(除了它可以与您的应用程序在同一进程中运行 - 这与 PostgreSQL 等不同)。
手册第一章描述了启动数据库,其中包括一章关于如何创建新数据库
除此之外,只需运行你的
CREATE TABLE
语句,例如在您的应用程序中,包含 SqlTool 或任何您喜欢的(基于 JDBC 的)SQL 客户端。手册中还描述了部署和集成到应用程序中: http://hsqldb .org/doc/2.0/guide/deployment-chapt.html。
“桌面应用程序中的嵌入式数据库”一章可能也很有趣给你。
Your question is extremely broad and not really possible to answer, but I'll try anyway.
HSQLDB is not different to any other DBMS (except that it can run in the same process as your application - that is different e.g. to PostgreSQL).
Starting the database is described in the first chapter of the manual including a chapter on how to create a new database
Apart from that, just run your
CREATE TABLE
statements e.g. from within your application, the included SqlTool or any (JDBC based) SQL client that you like.Deployment and integration into your application is described in the manual as well: http://hsqldb.org/doc/2.0/guide/deployment-chapt.html.
The chapter "Embedded Databases in Desktop Applications" might also be interesting to you.