You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue includes common support for query timeout as well as cancelling ones (manually or by time expiration).
Some related methods which depend on this issue are Statement.setQueryTimeout; Statement.cancel; Statement.close; Conection.abort (see #71); Conection.close; Conection.isValid (see #75);
Activity
Support Connection.isValid method
Use 'SELECT 1' expression as a ping request to an underlying database.
Use 'SELECT 1' expression as a ping request to an underlying database.
Remove TarantoolConnection
Remove TarantoolConnection
Replace TConnection with TClientImpl in JDBC
Replace TConnection with TClientImpl in JDBC
Replace TConnection with TClientImpl in JDBC
Replace TConnection with TClientImpl in JDBC
Replace TConnection with TClientImpl in JDBC
Replace TConnection with TClientImpl in JDBC
Replace TConnection with TClientImpl in JDBC
Replace TConnection with TClientImpl in JDBC
Replace TConnection with TClientImpl in JDBC
Replace TConnection with TClientImpl in JDBC
Totktonada commentedon May 19, 2019
AFAIU this feature is optional according to the standard?
nicktorwald commentedon May 20, 2019
Looks mandatory... Could you point where you met this info? I couldn't find anything about it.
By the way, it's done in #172.
Totktonada commentedon May 20, 2019
JDBC 4.2 spec says (section 6.3 'JDBC 4.2 API Compliance'):
I don't have objections about having the feature implemented, especially if it looks useful and even already implemented.
Totktonada commentedon May 20, 2019
setQueryTimeoutis not in this list, you are right. Set MVP milestone.Replace TConnection with TClientImpl in JDBC
Replace TConnection with TClientImpl in JDBC
Replace TConnection with TClientImpl in JDBC
Replace TConnection with TClientImpl in JDBC
Replace TConnection with TClientImpl in JDBC
Replace TConnection with TClientImpl in JDBC
Totktonada commentedon Oct 16, 2019
Done:
Statement.setQueryTimeoutwas implemented in Replace TConnection with TClientImpl in JDBC #172.Statement.close()was implemented in Add support for result set type and concurrency #151.Connection.close()was implemented in Replace TConnection with TClientImpl in JDBC #172.Connection.isValid()was implemented in Replace TConnection with TClientImpl in JDBC #172.Remaining:
Statement.cancel()is not implemented (and is optional).Connection.abort()is not implemented (and seems to be mandatory).The latter is tracked in #71. Let's track only
Statement.cancel()here. It is the optional feature, so I'll change the milestone for this issue.