Re: [h2] Recreate database

2014-04-06 Thread Thomas Mueller
Hi, The sequence is OK. With "shutdown immediately", the files should be closed (if not, then that would be a bug). However, after "shutdown immediately", closing the connection throws an exception ("The database has been closed"). What you could do is catch and ignore that exception. An alternat

[h2] Recreate database

2014-04-04 Thread Alex
hi, as far as sometimes database can be corrupted due to some reason it is good idea to recreate database when it is detected without exiting app. what is correct way to do ti? i tested sequence - "shutdown immediately" - delete database file - Driver