Re: closing old connections from h2 console

2012-10-02 Thread Adam McMahon
Thomas, Thanks for the feedback... -Adam On Sunday, September 30, 2012 12:47:35 PM UTC-4, Thomas Mueller wrote: > > Hi, > > The db_close_delay is a delay and should do what you are looking for. For > example db_close_delay=10 will close the database if there are no open > connections for 10 se

Re: closing old connections from h2 console

2012-09-30 Thread Thomas Mueller
Hi, The db_close_delay is a delay and should do what you are looking for. For example db_close_delay=10 will close the database if there are no open connections for 10 seconds. See also http://h2database.com/html/grammar.html?highlight=DB_CLOSE_DELAY&search=db_close#set_db_close_delay Regards, Th

closing old connections from h2 console

2012-09-27 Thread Adam McMahon
Hi, I am using H2 embedded in a web app with db_close_delay=-1. The code in my app closes connections fine. However, on occasion we use the h2 web console to manage things. Since it is in a web browser, on occasion we close the browser while forgetting to hit the disconnect button (I know,