Specifying Properties Using an ojdbc.properties File Specific to a TNS Entry
(Doc ID 2808353.1)
Last updated on SEPTEMBER 24, 2021
Applies to:JDBC - Version 19.6 and later
Information in this document applies to any platform.
Since JDBC 18c an ojdbc.properties file can be used to specify JDBC connection properties.
The default location for the file is: $TNS_ADMIN/ojdbc.properties.
Typically the connection string used for taking advantage of this feature is : jdbc:oracle:thin:@<TNS entry>?TNS_ADMIN=<pathname>.
Is it possible to have properties that are specific to one particular TNS entry?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document