Hi,

I was having a quick look through the source of JdbcConnectionPool, but I was unable to determine if connections are automatically returned to the pool if close is not called.

So if I don't call close on the connection, and the thread with the connection ends, will the garbage collector automatically return it to the pool when it feels like it?

If it doesn't I might want to put a safety on the connection pool so accidentally not calling close doesn't take down the whole application eventually...

Thanks, Ryan


--
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.

Reply via email to