Hi, Why do you use FILE_LOCK=NO? I don't think you should.
Could you provide a simple, reproducible test case? Regards, Thomas On Friday, November 24, 2017, Olaf van der Meer <[email protected]> wrote: > Hi, > > We have got a multi threaded server application. Each thread connects with > a h2 database using the H2 properties: FILE_LOCK=NO, MV_STORE=FALSE > The h2 version is h2-1.4.190. > > Every now and then we got a EOFException when closing the database. > Reopening the database after this error sometimes results in: > java.lang.RuntimeException: rowCount expected 214438 got 214493 > TABLENAME.FIELDNAME > > Is it safe to use FILE_LOCK=NO? The documentation writes that it is unsafe > as another process is able to open the same database. > We don't open the database from another process, but in another thread > within the same process. Is this safe? > > Thanks for any advice. > > Olaf > > > > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <javascript:_e(%7B%7D,'cvml','h2-database%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > Visit this group at https://groups.google.com/group/h2-database. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
