My Oracle Support Banner

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.

Goal

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?

 

Solution

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
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.