Skip to content

Commit be809b4

Browse files
Update README.md
Specifying that most options are invalid when using a descriptor
1 parent b333e4a commit be809b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,11 @@ Options. For Options having any of the following names, a CharSequence value may
157157
- [oracle.net.ssl_context_protocol](https://docs.oracle.com/en/database/oracle/oracle-database/21/jajdb/oracle/jdbc/OracleConnection.html?is-external=true#CONNECTION_PROPERTY_SSL_CONTEXT_PROTOCOL)
158158
- [oracle.jdbc.fanEnabled](https://docs.oracle.com/en/database/oracle/oracle-database/21/jajdb/oracle/jdbc/OracleConnection.html?is-external=true#CONNECTION_PROPERTY_FAN_ENABLED)
159159
- [oracle.jdbc.implicitStatementCacheSize](https://docs.oracle.com/en/database/oracle/oracle-database/21/jajdb/oracle/jdbc/OracleConnection.html?is-external=true#CONNECTION_PROPERTY_IMPLICIT_STATEMENT_CACHE_SIZE)
160-
- Descriptor URLs of the form ```(DESCRIPTION=...)``` may be specified as an io.r2dbc.spi.Option having the name `oracle-net-descriptor`.
160+
- Oracle Net Descriptors of the form ```(DESCRIPTION=...)``` may be specified as an io.r2dbc.spi.Option having the name `oracle-net-descriptor`.
161+
- If `oracle-net-descriptor` is specified, then it is invalid to specify any other options that might conflict with information in the descriptor, such as: `HOST`, `PORT`, `DATABASE`, and `SSL`.
161162
- The `oracle-net-descriptor` option may appear in the query section of an R2DBC URL: `r2dbc:oracle://?oracle-net-descriptor=(DESCRIPTION=...)`
162163
- The `oracle-net-descriptor` option may be provided programatically: `ConnectionFactoryOptions.builder().option(Option.valueOf("oracle-net-descriptor"), "(DESCRIPTION=...)")`
163-
- The `oracle-net-descriptor` option may be set as the alias of a descriptor in a tnsnames.ora file. The directory of tnsnames.ora can be set using an io.r2dbc.spi.Option having the name `TNS_ADMIN`: `r2dbc:oracle://?oracle-net-descriptor=myAlias&TNS_ADMIN=/path/to/tnsnames/`
164+
- The `oracle-net-descriptor` option may be set as the alias of a descriptor in a tnsnames.ora file. The directory of tnsnames.ora may be set using an io.r2dbc.spi.Option having the name `TNS_ADMIN`: `r2dbc:oracle://?oracle-net-descriptor=myAlias&TNS_ADMIN=/path/to/tnsnames/`
164165

165166

166167
### Thread Safety and Parallel Execution

0 commit comments

Comments
 (0)