Skip to content

Conversation

@Michael-A-McMahon
Copy link
Member

This branch updates Oracle R2DBC to the 0.9.0.M2 R2DBC SPI. New features added in this update are summarized in the remaining paragraphs.

Connections created by the Oracle R2DBC ConnectionFactory now implement the Lifecycle interface introduced in the 0.9.0.M2 SPI release. The interface is implemented to invoke beginRequest and endRequest on the underlying JDBC Connection.

Statements created by an Oracle R2DBC Connection are subject to an execution timeout configured by Connection.setStatementTimeout(Duration) or ConnectionFactoryOptions.STATEMENT_TIMEOUT. The setStatementTimeout method and STATEMENT_TIMEOUT Option have both been introduced in the 0.9.0.M2 SPI release.

PL/SQL out parameter values are represented as an instance of the OutParameters interface introduced in the 0.9.0.M2 SPI release. Out parameter values had previously been represented as an instance of Row.

An Oracle R2DBC Result now implements the map(Function), flatMap(Function), and filter(Function) methods that have been introduced in the 0.9.0.M2 SPI release.

An Oracle R2DBC Statement emits a Result with a Message Segment if the execution of that statement fails or completes with a warning. Batch DML execution is also implemented to use Message Segments combined with UpdateCount segments when the execution results in a BatchUpdateException.

@jeandelavarene jeandelavarene merged commit bae1154 into main Aug 11, 2021
@jeandelavarene jeandelavarene deleted the spi-0-9-0-M2 branch August 11, 2021 20:23
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

Successfully merging this pull request may close these issues.

2 participants