开发者

HSQLDB in-memory mode persistence with JBoss

Is it possible to use HSQLD开发者_运维技巧B in in-memory mode and to save the data while JBoss is running and/or when JBoss stops?

Thanks in advance


An all-in-memory database has a URL in the form jdbc:hsqldb:mem:thename

With this type of database as with all other types, you can use SCRIPT 'file path' to save a copy of the database to the file you specify.

Now someone else can show you how to execute an SQL command in the JBoss process in different ways. I have seen some examples on the web in the past.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜