-
Notifications
You must be signed in to change notification settings - Fork 19
jdbc: Pooled statements support #181
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
Comments
Seems to be connected with tarantool/tarantool#2592 . Don't sure whether it is worth to really hold a statement pool if it will be on the tarantool side and will be transparent. However we should support the API. Should we file another issue to tarantool to support acquring metainfo (results types) before execution of a statement? |
The poolable statement makes sense in cases when the server supports prepared statements explicitly, say SQL
Do you mean |
If the API is mandatory (or worth to implement because of another reason) we should support the API, but use non-pooled statements under hood. This is the case for Otherwise it should be either moved to @nicktorwald Can you please investigate whether it the API is mandatory / important? |
This is mandatory but this is also just a hint to the driver. At present, we can support it but ignore the hint.
This issue is more about performance and doesn't impact on JDBC functionality. |
Okay. Let's implement it just as API w/o considering the hint for now. |
Implement corresponding API related to poolable statements. This hint is ignored and used to be compatible with the API. Closes: #181
Implement corresponding API related to poolable statements. This hint is ignored and used to be compatible with the API. Closes: #181
Implement corresponding API related to poolable statements. This hint is ignored and used to be compatible with the API. Closes: #181
Need to implement a statement cache to reuse same queries
Statement.isPoolable
andStatement.setPoolable
methodsNote: By default, a
Statement
is not poolable when created, and aPreparedStatement
andCallableStatement
are poolable when created.The text was updated successfully, but these errors were encountered: