Hello, I'm using H2 JdbcConnectionPool. I'm trying to handle condition where db server is temporarily down. This is doable, but it takes about 18 seconds before error message is returned. If I don't use AUTO_RECONNECT setting, then the error is immediately returned.
Can someone please explain why it's longer to get the error if AUTO_RECONNECT is set to true? Is there a param to set timeout? I've tried using pool.setLoginTimeout(5) but it doesn't work. Thanks!. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/groups/opt_out.
