开发者

HSQLDB in-memory mode persistence with JBoss

开发者 https://www.devze.com 2023-03-08 20:48 出处:网络
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?

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

精彩评论

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