title: disable retry attempts by dbcp connection pool
body: <p>I am using commons-dbcp connection pool, in case of Mysql connection loss the pool retries multiple times before "giving up". The downside is it waits toooo long before returning back. I need a way through which I can disable these retries so that I can handle the exception accordingly. Application is spring based.</p>