Skip to content
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

OBJECT Types #104

Merged
merged 16 commits into from Nov 15, 2022
Merged

OBJECT Types #104

merged 16 commits into from Nov 15, 2022

Conversation

Michael-A-McMahon
Copy link
Member

This branch adds support for OBJECT types of Oracle Database. This branch subsumes earlier work from #101. Much of the code from that branch is duplicated in this branch.

New interfaces are added to the oracle.r2dbc package, which is exported to user code:

  • OracleR2dbcTypes.ObjectType : Extends the io.r2dbc.spi.Type interface. Represents a user defined OBJECT type. This is used to create io.r2dbc.spi.Parameter bind values.
  • OracleR2dbcObject : Implements io.r2dbc.spi.Readable to access OBJECT attribute values. This is Oracle R2DBC's equivalent to JDBC's java.sql.Struct interface.
  • OracleR2dbcObjectMetadata : A collection of io.r2dbc.spi.ReadableMetadata for OBJECT attributes. This Oracle R2DBC's equivalent to Oracle JDBC's oracle.jdbc.StructMetadata.

For general usage examples, please see the added section in the README.md file.

@Michael-A-McMahon Michael-A-McMahon linked an issue Nov 10, 2022 that may be closed by this pull request
@Michael-A-McMahon Michael-A-McMahon linked an issue Nov 10, 2022 that may be closed by this pull request
@jeandelavarene jeandelavarene merged commit 9d37887 into main Nov 15, 2022
@jeandelavarene jeandelavarene deleted the 83-struct-types branch November 15, 2022 21:08
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.

Support for sending type name with Out Parameters.
2 participants