Hi, > even I closed all > connections H2 insisted that the file lock is not released so I begin > to start H2 without a file lock.
If H2 says the database is already open, then it is already open :-) If you override that and use FILE_LOCK=NO, then the corrupt database is to be expected. > I was using JdbcConnectionPool implementation, but I was getting > "connection pool has been disposed" error even I did not call the > dispose method of it. So I had to write my own connection pool > implementation. In my own implementation; I suggest to find out what the problem with JdbcConnectionPool is. Could you run the application in debug mode, and set a breakpoint in the dispose method? That way you can find out who is calling it. 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.
