Hi,

With HSQLDB I quite often had the problem that some of the most
records were lost, and I would like to make sure I don't experience
the same with H2 again ;)

Is the following way to close an application sufficient to get all
outstanding data written to disk and to get the databse in a
consistent state:

void shutdownApp() {
     statement.execute("SHUTDOWN");
     System.exit(0);
}

Or is shutdown executed in an asynchronous way, and System.exit()
aborts it while working?

Thank you in advance, Clemens

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to h2-datab...@googlegroups.com.
To unsubscribe from this group, send email to 
h2-database+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to