Skip to content

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