Hello, I'm trying to write a solr driver for metabase. Internally metabase uses a C3P0 connection pool. Upon checkout of the connection from the pool the library does a call to isValid(0) (timeout = 0)
According to the javadocs ( https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/Connection.html#isValid(int)) a timeout = 0 means no timeout. In the current implementation a timeout = 0 means that the connection is always invalid. I can provide a PR for this. Nick -- [image: Zeticon] Nick Vercammen CTO +32 9 275 31 31 +32 471 39 77 36 nick.vercam...@zeticon.com <https://www.facebook.com/MediaHaven-1536452166583533/> <https://www.linkedin.com/company/zeticon/> <https://twitter.com/mediahaven> www.zeticon.com