Purpose

REQUIRED. The name of the database to which you want to connect. This property is supported only for DB2 for Linux/UNIX/Windows.

Valid Values

string

where:

string
Is the name of a DB2 database.

Default

None

Data Type

String

Alias

Database property. If both the Database and DatabaseName properties are specified in a connection URL, the last property that is 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:db2://server1:50000;DatabaseName=jdbc;Database=acct;
User=test;Password=secret

This property is an alias for LocationName when connecting to DB2 for z/OS or i.