Skip to content

Commit

Permalink
Fixed REF cursor example
Browse files Browse the repository at this point in the history
The example was missing a "return", so I added it.
  • Loading branch information
Michael-A-McMahon authored Aug 23, 2024
1 parent 17adf49 commit 8dfa7cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ Use the `oracle.r2dbc.OracleR2dbcTypes.REF_CURSOR` type to bind `SYS_REFCURSOR`
out parameters:
```java
Publisher<Result> executeProcedure(Connection connection) {
connection.createStatement(
return connection.createStatement(
"BEGIN example_procedure(:cursor_parameter); END;")
.bind("cursor_parameter", Parameters.out(OracleR2dbcTypes.REF_CURSOR))
.execute()
Expand Down

0 comments on commit 8dfa7cc

Please sign in to comment.