Hi,

FILE_LOCK=NO (the reason I
> don't use file locking is I had other problems back a year ago. This
> is how I solved it :( ).
>

Hm, you may have solved the other problems, but most likely this is the
root cause for the ArrayIndexOutOfBoundsException.

I guess what happened is: you have opened the database multiple times in
different processes. Because of using FILE_LOCK=NO, the database didn't
detect it. Both processes wrote to the database file in an unsynchronized
way, which caused the corruption.

I suggest not to use FILE_LOCK=NO.

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