Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for timeouts in read queries #123

Open
leitaop opened this issue Nov 11, 2019 · 0 comments
Open

Add support for timeouts in read queries #123

leitaop opened this issue Nov 11, 2019 · 0 comments

Comments

@leitaop
Copy link
Contributor

leitaop commented Nov 11, 2019

In addition to the already existent network timeouts, add support for timeouts on query execution, i.e., expose Statement#setQueryTimeout() in the pdb API.

leitaop added a commit that referenced this issue Nov 12, 2019
This provides a mechanism to specify a default timeout for all select queries created by a given
DatabaseEngine plus the possibility to override the configured value on individual queries. It
also exposes the Statement#cancel() method, that allows a thread to cancel a query running on other
query and is supported by the production-ready JDBC drivers supported by pdb.
leitaop added a commit that referenced this issue Nov 27, 2019
This provides a mechanism to specify a default timeout for all select queries created by a given
DatabaseEngine plus the possibility to override the configured value on individual queries. It
also exposes the Statement#cancel() method, that allows a thread to cancel a query running on other
query and is supported by the production-ready JDBC drivers supported by pdb.
leitaop added a commit that referenced this issue Nov 27, 2019
* Adds support for timeouts in select queries (#123)

This provides a mechanism to specify a default timeout for all select queries created by a given
DatabaseEngine plus the possibility to override the configured value on individual queries. It
also exposes the Statement#cancel() method, that allows a thread to cancel a query running on other
query and is supported by the production-ready JDBC drivers supported by pdb.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant