Hi,

so with this timeout setting, it's easy to catch the sqlexception,
create a new connection on the fly, and put a warning in the log at
the same time

Thanks a lot !

Regards,
Romain.

On May 20, 6:51 am, Thomas Mueller <[email protected]>
wrote:
> Hi,
>
> It is waiting until a connection is available or the connection
> timeout is reached, which is 5 minutes by default. To use a lower
> value, for example 5 seconds, use:
>
> pool.setLoginTimeout(5);
>
> See 
> alsohttp://h2database.com/javadoc/org/h2/jdbcx/JdbcConnectionPool.html#se...
>
> 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 
> athttp://groups.google.com/group/h2-database?hl=en.

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