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
Currently when using a Statement object there is no indication for the underlying implementation whether the statement should be closed or left open.
It would be good if Statement.java could have a boolean value that could be set when building that could indicate to the implementation that the user wishes to close the statement, e.g. Statement releaseAfterwards();
The text was updated successfully, but these errors were encountered:
We don't have a notion of 'open' in R2DBC, so we cannot introduce a notion of closing statements.
I understand the desire to close prepared statements at some point. Not all statements qualify for closing, only those that require server preparation.
In the drivers where this applies, drivers decided to provide a configurable strategy (FIFO, round robin, close after use) to release statements.
Currently when using a
Statement
object there is no indication for the underlying implementation whether the statement should be closed or left open.It would be good if
Statement.java
could have a boolean value that could be set when building that could indicate to the implementation that the user wishes to close the statement, e.g.Statement releaseAfterwards();
The text was updated successfully, but these errors were encountered: