Jay
> It seems that H2 tries to reconstruct all db structure to memory when
connecting.
I guess you are not using memory tables? If yes that would be the
problem. If not, I don't know what the problem could be just now.
Could you send me the database?
To find out what takes so long, I suggest to use a Java profiler. A
simple solution is to use
java -Xrunhprof:cpu=samples,depth=8 ...
Or you could use the YourKit Java Profiler.
Thanks,
Thomas