Second Milestone of R2DBC SPI 0.9 Released
Dear R2DBC Community,
We are thrilled to announce the second first milestone of the R2DBC 0.9 specification (0.9.0.M2
) that ships several changes. One of them is a long-awaited feature to consume out parameters from stored procedures.
Here’s a short summary of the changes:
- Consumption of OUT Parameters by introducing
OutParameters
.Row
andOutParameters
now share the common superinterfaceReadable
. - Introduction of the
Result.map(Function<Readable, T>)
method. - Introduction of the
Result.Segment
API type hierarchy andResult.filter(Predicate<Segment>)
andResult.flatMap(Function<Segment, Publisher<T>>)
methods to consume arbitrary statement results. - Lifecycle support by introducing the
Lifecycle
interface. - Removal of generic type of
ConnectionFactoryOptions.getValue(Option)
andgetRequiredValue(…)
. - Deprecate
RowMetadata.getColumnNames()
and introduceRowMetadata.contains(String)
to simplify constraints and usage around column presence checks. - Support for Lock Wait and Statement Timeouts through
Connection.setLockWaitTimeout(Duration)
andConnection.setStatementTimeout(Duration)
methods.
This release provides a stable revision of the specification for R2DBC implementors. We expect drivers and implementations to adopt these changes within the next weeks so that we can expect implementations to be available during August where we plan to finish the milestone release train with the bill of materials.
- Mailing list: https://groups.google.com/g/r2dbc
- Changelog: https://r2dbc.io/spec/0.9.0.M2/CHANGELOG.txt
- Specification document: https://r2dbc.io/spec/0.9.0.M2/spec/html/
- Javadoc: https://r2dbc.io/spec/0.9.0.M2/api/