Skip to content

Array Types #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Nov 15, 2022
Merged

Array Types #101

merged 11 commits into from
Nov 15, 2022

Conversation

Michael-A-McMahon
Copy link
Member

This branch adds support for ARRAY types in Oracle Database.

The bind methods of Statement may now be used to bind Java arrays to the ARRAY type. Likewise, the get methods of Readable may now be used to get ARRAY values as Java arrays.

Oracle Database only supports ARRAY as a user defined type. In order to bind a value to an ARRAY, the name of the user defined type must be known to the driver. Oracle R2DBC will extend the R2DBC SPI with a new Type that represents a named ARRAY type: oracle.r2dbc.OracleR2DBCTypes.ArrayType.

Instances of ArrayType must be used to create io.r2dbc.spi.Parameter objects that bind Java arrays to ARRAY values.

See changes in the README.md for usage examples.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 27, 2022
@Michael-A-McMahon Michael-A-McMahon mentioned this pull request Nov 10, 2022
@jeandelavarene jeandelavarene merged commit 4c80abe into main Nov 15, 2022
@jeandelavarene jeandelavarene deleted the array-types branch November 15, 2022 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants