We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this questionI would like to integrate HSQL in my开发者_如何学Go Java application for testing purposes. Is there any tutorial that describes in a simple way how to integrate it-I want to distribute it with my app. I'm not restricted to HSQL any other easier solution are welcomed.
Thanks
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.
精彩评论