skip to main content
Connection property descriptions : DatabaseName
  

Try DataDirect Drivers Now

DatabaseName

Purpose

The SID or service name that refers to the instance of the Oracle database that is running on the database server. This property is mutually exclusive with the ServiceName and SID properties.

Valid values

string
where:
string
is the name of an Oracle instance.

Data source method

setDatabaseName

Default

None

Data type

String

Alias

Database property. If both the Database and DatabaseName properties are specified in a connection URL, the last property positioned in the connection URL is used. For example, if your application specifies the following connection URL, the value of the Database connection property would be used instead of the value of the DatabaseName connection property.

jdbc:datadirect:oracle://server1:1521;DatabaseName=ORCL;
Database=ORCL_acct;User=test;Password=secret