Re: JDBC thin driver: support connection timeout

2018-12-03 Thread Alexander Lapin
Hi Ivan, Vladimir, @Ivan > 1. According to the jdbc spec [1] setNetworkTimeout method is > optional. What user problem we are going to solve by implementing that > method? > We are going to give user an ability to set custom connection timeout. > Also I checked another quite popular jdbc driver

Re: JDBC thin driver: support connection timeout

2018-12-02 Thread Vladimir Ozerov
+1 вс, 2 дек. 2018 г. в 18:39, Павлухин Иван : > Missing ref: > [2] > https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client/2.3.0 > > 2018-12-02 18:31 GMT+03:00, Павлухин Иван : > > Hi Alexander, > > > > I have 2 points. > > > > 1. According to the jdbc spec [1] setNetworkTimeou

Re: JDBC thin driver: support connection timeout

2018-12-02 Thread Павлухин Иван
Missing ref: [2] https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client/2.3.0 2018-12-02 18:31 GMT+03:00, Павлухин Иван : > Hi Alexander, > > I have 2 points. > > 1. According to the jdbc spec [1] setNetworkTimeout method is > optional. What user problem we are going to solve by

Re: JDBC thin driver: support connection timeout

2018-12-02 Thread Павлухин Иван
Hi Alexander, I have 2 points. 1. According to the jdbc spec [1] setNetworkTimeout method is optional. What user problem we are going to solve by implementing that method? 2. Also I checked another quite popular jdbc driver provided by MariaDB [2]. They ignore an executor argument as well and set

JDBC thin driver: support connection timeout

2018-11-30 Thread Alexander Lapin
Hi Igniters, Within context of connection timeout [ https://issues.apache.org/jira/browse/IGNITE-5234] it's not obvious whether it's required to use setNetworkTimeout's executor or not. According to the javadoc of java.sql.Connection#setNetworkTimeout(Executor executor, int milliseconds), executo