Re: ConnectionImpl.isValid() does not behave as described in Connection javadocs

2020-01-21 Thread Kevin Risden
Nick - Feel free to open a Jira and PR. I think the disconnect is the meaning of timeout=0 between JDBC and the Solr client. Kevin Risden On Sun, Jan 19, 2020 at 3:34 PM Nick Vercammen wrote: > I think so as the ConnectionImpl in solr is not in line with the > description of the java connectio

Re: ConnectionImpl.isValid() does not behave as described in Connection javadocs

2020-01-19 Thread Nick Vercammen
I think so as the ConnectionImpl in solr is not in line with the description of the java connection interface > Op 19 jan. 2020 om 21:23 heeft Erick Erickson het > volgende geschreven: > > Is this a Solr issue? > >> On Sun, Jan 19, 2020, 14:24 Nick Vercammen >> wrote: >> >> Hello, >> >> I

Re: ConnectionImpl.isValid() does not behave as described in Connection javadocs

2020-01-19 Thread Erick Erickson
Is this a Solr issue? On Sun, Jan 19, 2020, 14:24 Nick Vercammen wrote: > 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) > > Accordin

ConnectionImpl.isValid() does not behave as described in Connection javadocs

2020-01-19 Thread Nick Vercammen
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/sq