Greetings,
I have a very weird problem suddenly happening on launching the
front-end app to my h2 database. This app is 3 years old. The
database file seems to lose some -- or maybe all -- of the metadata.
Naturally, the problem is intermittent, so I haven't managed yet to
catch it in the act and actually have a look at the file structure.
But I'm wondering if it's because I don't call Connection.close()
before my app quits? This would be a big surprise, because often
when I'm working on the code, I don't bother to quit the app -- I
simply kill it from within my development environment -- and this
problem has only just started cropping up, whereas I've been using
and working on the app for 3 years now. Also, I know that the h2
docs say that the engine copes with sudden power failures.
However, in the spirit of covering all bases -- and not a little
desperation to solve the problem and feel that I've *actually* solved
it (given that it's intermittent), I figured it was worth asking the
question here.
Is it possible that sometimes h2 is *not* shutting down the
connection properly? I'm using 1.1.118, by the way. And yes, I know
it's an old version now, and yes, I have considered upgrading to
1.2.x, but at the moment with this mysterious problem I'm not willing
to take on the extra risk of file format changes.
Many thanks in advance for any guidance :-)
--
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.