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

Fetch Size and Proxy Client Name Options #155

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

Michael-A-McMahon
Copy link
Member

Added Options to configure JDBC with a default row prefetch, and a proxy client
name.

Added a test to make sure that Oracle R2DBC is actually passing option values
along to JDBC as connection properties.

I noticed that JDBC disables fetch size tuning if set call setFetchSize(0) on
a Statement. Auto-tuning is a nice feature, so Oracle R2DBC won't call setFetchSize
anymore, unless a user passes a non-zero value to the fetchSize method of
an R2DBC Statement.

Replaced references to oracle.jdbc.pool.OracleDataSource with
oracle.jdbc.datasource.impl.OracleDataSource.

Replaced references to the deprecated CONNECTION_PROPERTY_J2EE13_COMPLIANT field
of OracleConnection with the literal String value. Not sure if this field will
actually be removed at some point, but if that does happen then Oracle R2DBC
won't break because of it.

Closes #147 and closes #154

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 4, 2024
@Michael-A-McMahon Michael-A-McMahon self-assigned this Oct 4, 2024
@jeandelavarene jeandelavarene merged commit bc7e1a6 into main Oct 10, 2024
3 checks passed
@jeandelavarene jeandelavarene deleted the 147-row-prefetch-option branch October 10, 2024 16:49
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
2 participants