Connecting to a BBj Database


The format for establishing a connection to a BBj data source is as follows where the port, user and password are optional:

jdbc:basis:hostname[:port]?DATABASE=databasename[&USER=user&PWD=password]

NOTE: If no port is specified, the default port of 2001 is used. Additionally, if the user and password are not specified, they must be specified using the MODE= option in the SQLOPEN call.

For more information, see Connecting to the JDBC Driver.