Is it possible to use HSQLDB in in-memory mode and to save the data while JBoss is running and/or when JBoss stops?
Thanks in advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An all-in-memory database has a URL in the form
jdbc:hsqldb:mem:thenameWith 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.