support SPI 0.9 M2
(R2DBC-15)
|
|
| Status: | Closed |
| Project: | MariaDB Connector/R2DBC |
| Component/s: | Specification |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.0-beta |
| Type: | Sub-Task | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Introduction of `Connection.setStatementTimeout(Duration)` methods. spec: The statement timeout can be configured on the `Connection` level allowing to associate the connection with a timeout limit. Once the data source has had an opportunity to process the request to terminate the running command, a `R2dbcTimeoutException` is raised to the client and no additional processing can occur against the previously running command without re-executing a statement. The timeout applies to statements through a combination of `Statement#execute`, `Batch#execute` and `Result` consumption. |