August 1999
Intermediate to advanced
1488 pages
72h 53m
English
connection.toString()
The toString() method of the Connection object returns a text value of the object. When invoked on an instance of a Connection object, the string is returned in the following format:
"dbName" "uid" "dbType" "dbInstance"
If parameter is unknown, an empty string is returned. Table 8.4 contains the value of these returned values.
| Method | Description |
|---|---|
| dbName | The name of the database you want to log into. For Oracle, DB2, and ODBC connections this is a blank (""), string. In Oracle, the name of the database for these connections is set up in the tnsnames.ora file and is defined by the DSN for ODBC connections. DB2 ... |
Read now
Unlock full access