Derby/JDBC connection lifetime (or Idle Timeout)
===

Using JDBC to connect to a Derby database, after a while, Derby or JDBC close the connection automatically.  (This may be called a "connection lifetime" value or a timeout value).

Where can I find out what the timeout value is?  Is it Derby or JDBC that closes the connection?  Is it an "idle timeout" value, so, if there is activity on that connection, will Derby or JDBC update so it closes the connection at (LastActivity + IdleTimeoutValue)?

I looked at a bunch of pages, including
http://stackoverflow.com/questions/1683949/connection-timeout-for-drivermanager-getconnection
http://stackoverflow.com/questions/6152643/how-to-reestablish-a-jdbc-connection-after-a-timeout
