Hi,

It's not so easy to detect. If the .lock.db file still exists, then it
wasn't closed normally. But possibly the file is gone (after calling
"shutdown immediately" it's gone). One solution to ensure it's closed
normally is to open and close it normally. Another is to run the Recover
tool and check the transaction log is empty.

Is it possible when the database was corrupted
> will also cause such error?
>

No, it would be a different error message.

Regards,
Thomas

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

Reply via email to